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
Marco Bubke
flatpak-qt-creator
Commits
e903c4d9
Commit
e903c4d9
authored
Oct 29, 2009
by
Oswald Buddenhagen
Browse files
reset program location when we detect "spontaneous running"
i.e., don't allow user to confuse himself :)
parent
1e96c679
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
e903c4d9
...
...
@@ -539,6 +539,11 @@ void GdbEngine::handleResponse(const QByteArray &buff)
if
(
resultClass
==
"done"
)
{
response
.
resultClass
=
GdbResultDone
;
}
else
if
(
resultClass
==
"running"
)
{
if
(
state
()
==
InferiorStopped
)
{
// Result of manual command.
m_manager
->
resetLocation
();
setTokenBarrier
();
setState
(
InferiorRunningRequested
);
}
setState
(
InferiorRunning
);
showStatusMessage
(
tr
(
"Running..."
));
response
.
resultClass
=
GdbResultRunning
;
...
...
Write
Preview
Supports
Markdown
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