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 (21 years, 9 months 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
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 (21 years, 11 months ago) by gbeauche
Branch: MAIN
Changes since 1.19: +6 -0 lines
Diff to previous 1.19
- New arch support for IP retrieval on SIGSEGV.

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

Revision 1.18 - (view) (annotate) - [select for diffs]
2002-05-20T18:12:01Z (22 years, 1 month ago) by gbeauche
Branch: MAIN
Changes since 1.17: +8 -2 lines
Diff to previous 1.17
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, 1 month ago) by gbeauche
Branch: MAIN
Changes since 1.16: +38 -1 lines
Diff to previous 1.16
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, 1 month ago) by gbeauche
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
- Fix compilation on Linux/x86 with SIGCONTEXT_SUBTERFUGE

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

Revision 1.14 - (view) (annotate) - [select for diffs]
2002-05-20T15:56:13Z (22 years, 1 month ago) by gbeauche
Branch: MAIN
Changes since 1.13: +218 -269 lines
Diff to previous 1.13
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, 1 month 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) - [select for diffs]
2002-05-16T15:48:06Z (22 years, 1 month 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, 2 months ago) by gbeauche
Branch: MAIN
Changes since 1.10: +9 -0 lines
Diff to previous 1.10
- 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, 2 months ago) by gbeauche
Branch: MAIN
Changes since 1.9: +257 -2 lines
Diff to previous 1.9
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, 3 months ago) by gbeauche
Branch: MAIN
Changes since 1.8: +4 -0 lines
Diff to previous 1.8
- 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, 5 months ago) by cebix
Branch: MAIN
Changes since 1.7: +4 -0 lines
Diff to previous 1.7
direct addressing works under FreeBSD (says Michael Alyn Miller :-)

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

Revision 1.6 - (view) (annotate) - [select for diffs]
2002-01-07T16:30:39Z (22 years, 6 months ago) by gbeauche
Branch: MAIN
Changes since 1.5: +4 -0 lines
Diff to previous 1.5
- 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 ago) by gbeauche
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4
- small fixes for Linux/ia64

Revision 1.4 - (view) (annotate) - [select for diffs]
2001-06-26T22:35:41Z (23 years ago) by gbeauche
Branch: MAIN
Changes since 1.3: +134 -9 lines
Diff to previous 1.3
- 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, 1 month ago) by gbeauche
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2
- 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, 1 month 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
- fixed "SIGSEGV recovery" not supported case

Revision 1.1 - (view) (annotate) - [select for diffs]
2001-05-20T20:31:50Z (23 years, 1 month ago) by gbeauche
Branch: MAIN
- 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