mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 17:19:32 +02:00
haiku: pass SA_SIGINFO flag to the signal handler. This seems correct ucontext IP and BP register contents, for valid stacktraces on signals
git-svn-id: trunk@40844 -
This commit is contained in:
parent
d3c0762af0
commit
7947f1d7a9
@ -231,7 +231,7 @@ begin
|
||||
{ initialize handler }
|
||||
act.sa_mask[0] := 0;
|
||||
act.sa_handler := SigActionHandler(@SignalToRunError);
|
||||
act.sa_flags := SA_ONSTACK;
|
||||
act.sa_flags := SA_ONSTACK or SA_SIGINFO;
|
||||
FpSigAction(signum,@act,@oldact);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user