From 550a85a432cc03915c1ae5f90ec53010b6e03c5b Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 21 Dec 2010 12:41:34 +0100 Subject: [PATCH] debugger: update stack view after manually loading modules Task-number: QTCREATORBUG-3427 --- src/plugins/debugger/gdb/gdbengine.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 9922c2fdec2..c44f8415f32 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -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)