forked from qt-creator/qt-creator
Debugger: Move showModule{Sections,Symbols} to DebuggerEngine
A bit closer to where the functions are used. No real change. Change-Id: Icbad68bd31d85caa59980316537ee532faf2d7ef Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -669,7 +669,7 @@ void LldbEngine::requestModuleSymbols(const QString &moduleName)
|
||||
{
|
||||
DebuggerCommand cmd("fetchSymbols");
|
||||
cmd.arg("module", moduleName);
|
||||
cmd.callback = [moduleName](const DebuggerResponse &response) {
|
||||
cmd.callback = [this, moduleName](const DebuggerResponse &response) {
|
||||
const GdbMi &symbols = response.data["symbols"];
|
||||
QString moduleName = response.data["module"].data();
|
||||
Symbols syms;
|
||||
@@ -682,7 +682,7 @@ void LldbEngine::requestModuleSymbols(const QString &moduleName)
|
||||
symbol.demangled = item["demangled"].data();
|
||||
syms.append(symbol);
|
||||
}
|
||||
Internal::showModuleSymbols(moduleName, syms);
|
||||
showModuleSymbols(moduleName, syms);
|
||||
};
|
||||
runCommand(cmd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user