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.18 by gbeauche, 2002-05-20T18:12:01Z vs.
Revision 1.19 by gbeauche, 2002-06-27T14:28:59Z

# Line 215 | Line 215 | static void powerpc_decode_instruction(i
215   #endif
216   #define SIGSEGV_FAULT_HANDLER_ARGLIST   int sig, siginfo_t *sip, void *scp
217   #define SIGSEGV_FAULT_ADDRESS                   sip->si_addr
218 + #if defined(__NetBSD__) || defined(__FreeBSD__)
219   #if (defined(i386) || defined(__i386__))
220   #define SIGSEGV_FAULT_INSTRUCTION               (((struct sigcontext *)scp)->sc_eip)
221   #define SIGSEGV_REGISTER_FILE                   ((unsigned int *)&(((struct sigcontext *)scp)->sc_edi)) /* EDI is the first GPR (even below EIP) in sigcontext */
# Line 223 | Line 224 | static void powerpc_decode_instruction(i
224   #define SIGSEGV_SKIP_INSTRUCTION                ix86_skip_instruction
225   */
226   #endif
227 + #endif
228   #if defined(__linux__)
229   #if (defined(i386) || defined(__i386__))
230   #include <sys/ucontext.h>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines