1.0.4.13: refactor trap handling
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 1 Apr 2007 19:36:16 +0000 (19:36 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 1 Apr 2007 19:36:16 +0000 (19:36 +0000)
commit6c605fa4b46d3fee9304c4e40e0e605aa5a24f28
treebbec94c2b304dbfcb402ebc77f34c9d087136629
parent71766d9db05e93567cb7e829abfc675c3cb895c9
1.0.4.13: refactor trap handling

 * All architectures had an essentially identical switch(trap){...}
   for different trap codes. Pull this into a single shared
   handle_trap function, which dispatches to architecture specific
   functions where necessary.

 * Remove unnecessary signal and siginfo arguments from breakpoint
   handling functions and interrupt_internal_error as a tentative step
   towards admitting that POSIX is not the only world out there.

 * Clean up some compiler warnings from the runtime, and a missing
   anti-copyright header.

 * Fix the PPC build... at least on G4 Darwin 10.3: no suseconds_t
   here.

 Tested on x86, x86-64, and PPC. Sparc, MIPS (and Alpha) testing
 needed.
17 files changed:
contrib/sb-posix/constants.lisp
src/runtime/alpha-arch.c
src/runtime/arch.h
src/runtime/breakpoint.c
src/runtime/breakpoint.h
src/runtime/hppa-arch.c
src/runtime/interrupt.c
src/runtime/interrupt.h
src/runtime/mips-arch.c
src/runtime/ppc-arch.c
src/runtime/print.c
src/runtime/sparc-arch.c
src/runtime/x86-64-arch.c
src/runtime/x86-arch.c
src/runtime/x86-bsd-os.c
tools-for-build/grovel-headers.c
version.lisp-expr