Debugger: Fixed and improved: Stop/Kill GDB when debugger stops

git-svn-id: trunk@43837 -
This commit is contained in:
martin 2014-01-29 14:17:25 +00:00
parent 030f7410f2
commit 07f72b88d4

View File

@ -2613,6 +2613,8 @@ begin
// the outer Processrunning should stop, due to process no longer running
FDidKillNow := True;
FTheDebugger.TerminateGDB;
SetDebuggerState(dsStop);
FTheDebugger.CancelAllQueued; // stop queued new cmd
Result := True;
exit;
end;
@ -8829,6 +8831,7 @@ begin
'',
ftError, [frOk]
);
SetState(dsError);
end;
end;
end;