mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 14:16:03 +02:00
Debugger: Fixed and improved: Stop/Kill GDB when debugger stops
git-svn-id: trunk@43837 -
This commit is contained in:
parent
030f7410f2
commit
07f72b88d4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user