Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1dd1752c
Commit
1dd1752c
authored
Feb 16, 2009
by
Oswald Buddenhagen
Committed by
hjk
Feb 17, 2009
Browse files
move -data-list-register-names up to the other initializers.
parent
aef3fa67
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdbengine.cpp
View file @
1dd1752c
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment