mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 00:59:25 +02:00
Debugger: Avoid error state, if GDB is killed.
git-svn-id: trunk@43838 -
This commit is contained in:
parent
07f72b88d4
commit
2f5726fd2f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user