From fc1a436bed38fcd11ba7508bcd5a35342a983f8c Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 14 Sep 2019 14:27:45 +0000 Subject: [PATCH] FpDebug: Linux, do not add any SigStop to deferred event list. (It going to be ignored as deInternalContinue anyway) git-svn-id: trunk@61876 - --- components/fpdebug/fpdbglinuxclasses.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/fpdebug/fpdbglinuxclasses.pas b/components/fpdebug/fpdbglinuxclasses.pas index b3bd442e8b..8b13be0d2a 100644 --- a/components/fpdebug/fpdbglinuxclasses.pas +++ b/components/fpdebug/fpdbglinuxclasses.pas @@ -501,7 +501,8 @@ begin FIsPaused := True; FIsInInternalPause := False; - if FInternalPauseRequested and (wstopsig(AWaitedStatus) = SIGSTOP) then begin + if {FInternalPauseRequested and} (wstopsig(AWaitedStatus) = SIGSTOP) then begin + DebugLn(DBG_VERBOSE and not FInternalPauseRequested, 'Received SigStop, but had not (yet) requested it. TId=', [Id]); FInternalPauseRequested := False; FIsInInternalPause := True; // no postpone