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

Comparing BasiliskII/src/Unix/sigsegv.h (file contents):
Revision 1.3 by gbeauche, 2002-05-12T11:10:50Z vs.
Revision 1.4 by gbeauche, 2002-05-16T15:48:06Z

# Line 28 | Line 28
28   typedef char * sigsegv_address_t;
29  
30   // Type of a SIGSEGV handler. Returns boolean expressing successful operation
31 < typedef bool (*sigsegv_handler_t)(sigsegv_address_t fault_address, sigsegv_address_t instruction_address);
31 > typedef bool (*sigsegv_fault_handler_t)(sigsegv_address_t fault_address, sigsegv_address_t instruction_address);
32 >
33 > // Type of a SIGSEGV state dump function
34 > typedef void (*sigsegv_state_dumper_t)(sigsegv_address_t fault_address, sigsegv_address_t instruction_address);
35  
36   // Install a SIGSEGV handler. Returns boolean expressing success
37 < extern bool sigsegv_install_handler(sigsegv_handler_t handler);
37 > extern bool sigsegv_install_handler(sigsegv_fault_handler_t handler);
38  
39   // Remove the user SIGSEGV handler, revert to default behavior
40   extern void sigsegv_uninstall_handler(void);
# Line 40 | Line 43 | extern void sigsegv_uninstall_handler(vo
43   extern void sigsegv_set_ignore_state(bool ignore_fault);
44  
45   // Set callback function when we cannot handle the fault
46 < extern void sigsegv_set_dump_state(sigsegv_handler_t handler);
46 > extern void sigsegv_set_dump_state(sigsegv_state_dumper_t handler);
47  
48   // Define an address that is bound to be invalid for a program counter
49   const sigsegv_address_t SIGSEGV_INVALID_PC = (sigsegv_address_t)(-1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines