mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:20:34 +02:00
FpDebug: Do not ignore SigTrap
git-svn-id: trunk@63065 -
This commit is contained in:
parent
1cc3be175c
commit
ee2ae9567c
@ -1272,16 +1272,16 @@ begin
|
||||
else
|
||||
// TODO: check it is not a real breakpoint
|
||||
// or end of single step
|
||||
if TDbgLinuxThread(AThread).FInternalPauseRequested then begin
|
||||
DebugLn(DBG_VERBOSE, ['Received late SigTrag for thread ', AThread.ID]);
|
||||
result := deInternalContinue; // left over signal
|
||||
end
|
||||
else
|
||||
begin
|
||||
// if TDbgLinuxThread(AThread).FInternalPauseRequested then begin
|
||||
// DebugLn(DBG_VERBOSE, ['Received late SigTrag for thread ', AThread.ID]);
|
||||
// result := deInternalContinue; // left over signal
|
||||
// end
|
||||
// else
|
||||
// begin
|
||||
result := deBreakpoint; // or pause requested
|
||||
if not TDbgLinuxThread(AThread).FIsSteppingBreakPoint then
|
||||
AThread.CheckAndResetInstructionPointerAfterBreakpoint;
|
||||
end;
|
||||
// end;
|
||||
end;
|
||||
SIGBUS:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user