Commit 51625f88 authored by hjk's avatar hjk
Browse files

debugger: don't start the watch dog timer on -gdb-exit

parent 715e7211
......@@ -805,7 +805,12 @@ void GdbEngine::flushCommand(const GdbCommand &cmd0)
// Start Watchdog.
if (m_commandTimer->interval() <= 20000)
// 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")
//if (cmd.flags & LosesChild)
// setState(InferiorShutdownRequested);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment