forked from qt-creator/qt-creator
move -data-list-register-names up to the other initializers.
This commit is contained in:
@@ -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)
|
||||
qq->breakHandler()->removeAllBreakpoints();
|
||||
|
Reference in New Issue
Block a user