# | Line 68 | Line 68 | static bool sigsegv_do_install_handler(i | |
---|---|---|
68 | #if (defined(ia64) || defined(__ia64__)) | |
69 | #define SIGSEGV_FAULT_INSTRUCTION (((struct sigcontext *)scp)->sc_ip & ~0x3ULL) /* slot number is in bits 0 and 1 */ | |
70 | #endif | |
71 | + | #if (defined(powerpc) || defined(__powerpc__)) |
72 | + | #include <sys/ucontext.h> |
73 | + | #define SIGSEGV_FAULT_INSTRUCTION (((ucontext_t *)scp)->uc_mcontext.regs->nip) |
74 | + | #endif |
75 | #endif | |
76 | #endif | |
77 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |