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:
Károly Balogh 2019-01-11 19:46:10 +00:00
parent d3c0762af0
commit 7947f1d7a9

View File

@ -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;