forked from qt-creator/qt-creator
debugger: update stack view after manually loading modules
Task-number: QTCREATORBUG-3427
This commit is contained in:
@@ -2618,12 +2618,16 @@ void GdbEngine::loadSymbols(const QString &moduleName)
|
|||||||
// FIXME: gdb does not understand quoted names here (tested with 6.8)
|
// FIXME: gdb does not understand quoted names here (tested with 6.8)
|
||||||
postCommand("sharedlibrary " + dotEscape(moduleName.toLocal8Bit()));
|
postCommand("sharedlibrary " + dotEscape(moduleName.toLocal8Bit()));
|
||||||
reloadModulesInternal();
|
reloadModulesInternal();
|
||||||
|
reloadStack(true);
|
||||||
|
updateLocals();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GdbEngine::loadAllSymbols()
|
void GdbEngine::loadAllSymbols()
|
||||||
{
|
{
|
||||||
postCommand("sharedlibrary .*");
|
postCommand("sharedlibrary .*");
|
||||||
reloadModulesInternal();
|
reloadModulesInternal();
|
||||||
|
reloadStack(true);
|
||||||
|
updateLocals();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GdbEngine::requestModuleSymbols(const QString &moduleName)
|
void GdbEngine::requestModuleSymbols(const QString &moduleName)
|
||||||
|
|||||||
Reference in New Issue
Block a user