Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
f9a69a5e
Commit
f9a69a5e
authored
Aug 16, 2010
by
hjk
Browse files
debugger: fix state transitions for 'Run to Line' and 'Jump to Line'
parent
fea475ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
f9a69a5e
...
...
@@ -1067,6 +1067,7 @@ void GdbEngine::handleQuerySources(const GdbResponse &response)
void
GdbEngine
::
handleExecuteJumpToLine
(
const
GdbResponse
&
response
)
{
if
(
response
.
resultClass
==
GdbResultRunning
)
{
notifyInferiorRunOk
();
// All is fine. Waiting for the temporary breakpoint to be hit.
}
else
if
(
response
.
resultClass
==
GdbResultDone
)
{
// This happens on old gdb. Trigger the effect of a '*stopped'.
...
...
@@ -1079,6 +1080,7 @@ void GdbEngine::handleExecuteJumpToLine(const GdbResponse &response)
void
GdbEngine
::
handleExecuteRunToLine
(
const
GdbResponse
&
response
)
{
if
(
response
.
resultClass
==
GdbResultRunning
)
{
notifyInferiorRunOk
();
// All is fine. Waiting for the temporary breakpoint to be hit.
}
else
if
(
response
.
resultClass
==
GdbResultDone
)
{
// This happens on old gdb. Trigger the effect of a '*stopped'.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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