Commit 1dd1752c authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by hjk
Browse files

move -data-list-register-names up to the other initializers.

parent aef3fa67
......@@ -1534,6 +1534,7 @@ bool GdbEngine::startDebugger()
//sendCommand("set pagination off");
sendCommand("set breakpoint pending on", BreakEnablePending);
sendCommand("set print elements 10000");
sendCommand("-data-list-register-names", RegisterListNames);
// one of the following is needed to prevent crashes in gdb on code like:
// template <class T> T foo() { return T(0); }
......@@ -1605,8 +1606,6 @@ bool GdbEngine::startDebugger()
sendCommand("x/2i " + startSymbolName(), GdbStart);
sendCommand("-data-list-register-names", RegisterListNames);
// set all to "pending"
if (q->startMode() == DebuggerManager::AttachExternal)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment