Debugger: Fix dumper format choosing with GDB

... and further unify GDB and LLDB code paths.

Change-Id: Id89f3804c53190c4888082891fd3c3c55eceac84
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-03-18 16:48:57 +01:00
parent 13d425b972
commit e8f8aaa263
7 changed files with 34 additions and 20 deletions

View File

@@ -4273,7 +4273,7 @@ void GdbEngine::startGdb(const QStringList &args)
if (!commands.isEmpty())
postCommand(commands.toLocal8Bit(), flags);
runCommand(DebuggerCommand("setupDumper", flags, CB(handlePythonSetup)));
runCommand(DebuggerCommand("loadDumpers", flags, CB(handlePythonSetup)));
}
void GdbEngine::handleGdbStartFailed()
@@ -4303,7 +4303,7 @@ void GdbEngine::loadInitScript()
void GdbEngine::reloadDebuggingHelpers()
{
runCommand("reloadDumper");
runCommand("reloadDumpers");
reloadLocals();
}