Debugger: Avoid error state, if GDB is killed.

git-svn-id: trunk@43838 -
This commit is contained in:
martin 2014-01-29 14:27:46 +00:00
parent 07f72b88d4
commit 2f5726fd2f

View File

@ -2613,8 +2613,9 @@ begin
// the outer Processrunning should stop, due to process no longer running // the outer Processrunning should stop, due to process no longer running
FDidKillNow := True; FDidKillNow := True;
FTheDebugger.TerminateGDB; FTheDebugger.TerminateGDB;
FTheDebugger.FNeedReset:= True;
SetDebuggerState(dsStop); SetDebuggerState(dsStop);
FTheDebugger.CancelAllQueued; // stop queued new cmd //FTheDebugger.CancelAllQueued; // stop queued new cmd
Result := True; Result := True;
exit; exit;
end; end;