ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/sigsegv.cpp
Revision 1.21 - (view) (annotate) - [select for diffs]
2002-10-03T15:49:14Z (22 years, 1 month ago) by gbeauche
Branch: MAIN
CVS Tags: nigel-build-12, nigel-build-13
Changes since 1.20: +0 -3 lines
Diff to previous 1.20 , to selected 1.12
configure script is reportedly no longer crashing on FreeBSD when
SIGSEGV_SKIP_INSTRUCTION is set.

Revision 1.20 - (view) (annotate) - [select for diffs]
2002-07-17T06:51:05Z (22 years, 4 months ago) by gbeauche
Branch: MAIN
Changes since 1.19: +6 -0 lines
Diff to previous 1.19 , to selected 1.12
- New arch support for IP retrieval on SIGSEGV.

Revision 1.19 - (view) (annotate) - [select for diffs]
2002-06-27T14:28:59Z (22 years, 4 months ago) by gbeauche
Branch: MAIN
Changes since 1.18: +2 -0 lines
Diff to previous 1.18 , to selected 1.12
Correctly guard FreeBSD bits

Revision 1.18 - (view) (annotate) - [select for diffs]
2002-05-20T18:12:01Z (22 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 , to selected 1.12
Backout "ignoresegv" support on FreeBSD/x86 for now. Unfortunately, the
configure script would hang whereas standalone testing will pass all tests.
Any idea why??
- Unix/sigsegv.cpp (ix86_skip_instruction): Add decoder for mozbl instruction.
  (SIGSEGV_REGISTER_FILE [FreeBSD/x86]): Note why we start at EDI offset
  rather than plain sigcontext pointer. i.e. I don't know sigset_t size
  beforehand and don't intend to.

Revision 1.17 - (view) (annotate) - [select for diffs]
2002-05-20T17:49:04Z (22 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.16: +38 -1 lines
Diff to previous 1.16 , to selected 1.12
Implement "ignoresegv" feature on FreeBSD/x86 (tested on FreeBSD 4.5)
- sigsegv.cpp (ix86_skip_instruction): Add decoder for movzwl instructions.
  (main): oddly, FreeBSD doesn't seem to let a write to a page if it is
  write-only. Aka. make the page readable too.

Revision 1.16 - (view) (annotate) - [select for diffs]
2002-05-20T16:03:37Z (22 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 , to selected 1.12
- Fix compilation on Linux/x86 with SIGCONTEXT_SUBTERFUGE

Revision 1.15 - (view) (annotate) - [select for diffs]
2002-05-20T16:00:07Z (22 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 , to selected 1.12
- sigsegv.cpp (ix86_skip_instruction): Fix DEBUG compilation.

Revision 1.14 - (view) (annotate) - [select for diffs]
2002-05-20T15:56:13Z (22 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.13: +218 -269 lines
Diff to previous 1.13 , to selected 1.12
Implement "ignoresegv" feature on Darwin/ppc (tested on MacOS X)
- Unix/sigsegv.cpp (powerpc_decode_instruction): New.
  (get_fault_instruction [MacOS X]): Factorize code.
  (get_fault_instruction [Linux/m68k]): Don't use expression statement.
- README (ignoresegv): Add Darwin/ppc to list of supported platforms.

Revision 1.13 - (view) (annotate) - [select for diffs]
2002-05-19T21:58:42Z (22 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.12: +153 -1 lines
Diff to previous 1.12
Implement "ignoresegv" feature on Linux/ppc:
- Unix/sigsegv.cpp (powerpc_skip_instruction): New from SheepShaver code.
- README (ignoresegv): Add Linux/ppc to list of supported platforms.

Revision 1.12 - (view) (annotate) - [selected]
2002-05-16T15:48:06Z (22 years, 6 months ago) by gbeauche
Branch: MAIN
Changes since 1.11: +10 -10 lines
Diff to previous 1.11
- video_vosh.h (Screen_fault_handler): Move unrecoverable fault case to...
- main_unix.cpp (sigsegv_dump_state): ... Here.
- sigsegv.h (sigsegv_fault_handler_t): Rename from sigsegv_handler_t.
- sigsegv.h (sigsegv_state_dumper_t): New.

Revision 1.11 - (view) (annotate) - [select for diffs]
2002-05-12T13:51:22Z (22 years, 6 months ago) by gbeauche
Branch: MAIN
Changes since 1.10: +9 -0 lines
Diff to previous 1.10 , to selected 1.12
- Merge with clisp SIGSEGV library version 1.2 with support added for
  HP-UX (contributed by Paolo Bonzini)
- Add missing? include <ucontext.h> for Irix and OSF/1 support

Revision 1.10 - (view) (annotate) - [select for diffs]
2002-05-12T11:10:50Z (22 years, 6 months ago) by gbeauche
Branch: MAIN
Changes since 1.9: +257 -2 lines
Diff to previous 1.9 , to selected 1.12
Implement the "ignoresegv" feature from SheepShaver. This is Unix-specific
so far. Target platform is currently Linux/x86.

Revision 1.9 - (view) (annotate) - [select for diffs]
2002-03-16T21:36:12Z (22 years, 8 months ago) by gbeauche
Branch: MAIN
Changes since 1.8: +4 -0 lines
Diff to previous 1.8 , to selected 1.12
- Add fault instruction recovery for Linux/ppc and siginfo_t handlers

Revision 1.8 - (view) (annotate) - [select for diffs]
2002-02-01T19:25:49Z (22 years, 9 months ago) by cebix
Branch: MAIN
Changes since 1.7: +4 -0 lines
Diff to previous 1.7 , to selected 1.12
direct addressing works under FreeBSD (says Michael Alyn Miller :-)

Revision 1.7 - (view) (annotate) - [select for diffs]
2002-01-15T14:58:37Z (22 years, 10 months ago) by cebix
Branch: MAIN
CVS Tags: snapshot-15012002
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 , to selected 1.12
- documentation updates
- 2001 -> 2002
- version 0.9 -> 1.0

Revision 1.6 - (view) (annotate) - [select for diffs]
2002-01-07T16:30:39Z (22 years, 10 months ago) by gbeauche
Branch: MAIN
Changes since 1.5: +4 -0 lines
Diff to previous 1.5 , to selected 1.12
- Add EIP recovery on Linux/x86 when using siginfo_t based signal handlers

Revision 1.5 - (view) (annotate) - [select for diffs]
2001-07-07T09:12:15Z (23 years, 4 months ago) by gbeauche
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 , to selected 1.12
- small fixes for Linux/ia64

Revision 1.4 - (view) (annotate) - [select for diffs]
2001-06-26T22:35:41Z (23 years, 4 months ago) by gbeauche
Branch: MAIN
Changes since 1.3: +134 -9 lines
Diff to previous 1.3 , to selected 1.12
- added SIGSEGV support for Linux/Alpha (to be checked), Darwin/PPC
- added uniform virtual memory allocation
  (supports mmap(), vm_allocate(), or fallbacks to malloc()/free())
- cleaned up memory allocation in main_unix.cpp

Revision 1.3 - (view) (annotate) - [select for diffs]
2001-06-05T12:16:34Z (23 years, 5 months ago) by gbeauche
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 , to selected 1.12
- use "volatile" to prevent from optimization for writes to page

Revision 1.2 - (view) (annotate) - [select for diffs]
2001-05-21T03:21:54Z (23 years, 5 months ago) by gbeauche
Branch: MAIN
CVS Tags: release-0_9-1, snapshot-29052001
Changes since 1.1: +13 -2 lines
Diff to previous 1.1 , to selected 1.12
- fixed "SIGSEGV recovery" not supported case

Revision 1.1 - (view) (annotate) - [select for diffs]
2001-05-20T20:31:50Z (23 years, 5 months ago) by gbeauche
Branch: MAIN
Diff to selected 1.12
- new and updated SIGSEGV support functions:
  + configure script cleanups
  + possible support for Direct Addressing / VOSF on other platforms

Convenience Links

Links to HEAD: (view) (annotate) Links to nigel-build-13: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a