OSDN Git Service

debugger: update stack view after manually loading modules
authorhjk <qtc-committer@nokia.com>
Tue, 21 Dec 2010 11:41:34 +0000 (12:41 +0100)
committerhjk <qtc-committer@nokia.com>
Tue, 21 Dec 2010 11:41:34 +0000 (12:41 +0100)
Task-number: QTCREATORBUG-3427

src/plugins/debugger/gdb/gdbengine.cpp

index 9922c2f..c44f841 100644 (file)
@@ -2618,12 +2618,16 @@ void GdbEngine::loadSymbols(const QString &moduleName)
     // FIXME: gdb does not understand quoted names here (tested with 6.8)
     postCommand("sharedlibrary " + dotEscape(moduleName.toLocal8Bit()));
     reloadModulesInternal();
+    reloadStack(true);
+    updateLocals();
 }
 
 void GdbEngine::loadAllSymbols()
 {
     postCommand("sharedlibrary .*");
     reloadModulesInternal();
+    reloadStack(true);
+    updateLocals();
 }
 
 void GdbEngine::requestModuleSymbols(const QString &moduleName)