Explorar el Código

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 -
Károly Balogh hace 6 años
padre
commit
7947f1d7a9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      rtl/haiku/system.pp

+ 1 - 1
rtl/haiku/system.pp

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