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

Comparing BasiliskII/src/Unix/main_unix.cpp (file contents):
Revision 1.51 by gbeauche, 2002-11-24T20:07:25Z vs.
Revision 1.52 by gbeauche, 2003-05-14T06:50:05Z

# Line 357 | Line 357 | int main(int argc, char **argv)
357                  if (!PrefsEditor())
358                          QuitEmulator();
359  
360 <        // Register request to ignore segmentation faults
360 >        // Register request to ignore all segmentation faults
361   #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
362          if (PrefsFindBool("ignoresegv"))
363 <          sigsegv_set_ignore_state(true);
363 >                sigsegv_add_ignore_range(0, ~(0UL), SIGSEGV_TRANSFER_LOAD | SIGSEGV_TRANSFER_STORE);
364   #endif
365  
366          // Register dump state function when we got mad after a segfault

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines