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
51625f88
Commit
51625f88
authored
Sep 06, 2010
by
hjk
Browse files
debugger: don't start the watch dog timer on -gdb-exit
parent
715e7211
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
51625f88
...
...
@@ -805,7 +805,12 @@ void GdbEngine::flushCommand(const GdbCommand &cmd0)
// Start Watchdog.
if
(
m_commandTimer
->
interval
()
<=
20000
)
m_commandTimer
->
setInterval
(
commandTimeoutTime
());
m_commandTimer
->
start
();
// The process can die for external reason between the "-gdb-exit" was
// sent and a response could be retrieved. We don't want the watchdog
// to bark in that case since the only possible outcome is a dead
// process anyway.
if
(
cmd
.
command
!=
"-gdb-exit"
)
m_commandTimer
->
start
();
//if (cmd.flags & LosesChild)
// setState(InferiorShutdownRequested);
...
...
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