X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fppc-arch.c;h=aa8a522e8e5d00e795a0dc91fdb3c3112c62c9fe;hb=db1814b928c9400194cb1dc6f57f42f2524501cc;hp=f62739e40381f875997645a5963941c0c34d4c5e;hpb=147f24abbb9c39704ebb9e93d8d1ec381b8ff53a;p=sbcl.git diff --git a/src/runtime/ppc-arch.c b/src/runtime/ppc-arch.c index f62739e..aa8a522 100644 --- a/src/runtime/ppc-arch.c +++ b/src/runtime/ppc-arch.c @@ -1,5 +1,6 @@ #include +#include "sbcl.h" #include "arch.h" #include "sbcl.h" #include "globals.h" @@ -185,14 +186,24 @@ sigtrap_handler(int signal, siginfo_t *siginfo, os_context_t *context) interrupt_handle_now(signal, code, context); break; } +#ifdef LISP_FEATURE_DARWIN + sigreturn(context); +#endif return; } if (((code >> 26) == 3) && (((code >> 21) & 31) == 24)) { interrupt_internal_error(signal, code, context, 0); +#ifdef LISP_FEATURE_DARWIN + sigreturn(context); +#endif return; } interrupt_handle_now(signal, code, context); +#ifdef LISP_FEATURE_DARWIN + /* Work around G5 bug */ + sigreturn(context); +#endif }