ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/sigsegv.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/sigsegv.cpp (file contents):
Revision 1.8 by cebix, 2002-02-01T19:25:49Z vs.
Revision 1.9 by gbeauche, 2002-03-16T21:36:12Z

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines