From 1adf4db5a4a33194e28a13091156c575bad2c188 Mon Sep 17 00:00:00 2001 From: Cyrus Harmon Date: Fri, 20 Apr 2007 05:19:48 +0000 Subject: [PATCH] 1.0.4.108: turn mach-exception-handler on for macos/x86 and x86_64 * have make-config.sh add mach-exception-handler to the features by default. This gets around the CrashReporter problems and enables debugging of SBCL processes with GDB. --- NEWS | 8 ++++++-- make-config.sh | 4 ++-- version.lisp-expr | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 82a49cb..3b09496 100644 --- a/NEWS +++ b/NEWS @@ -63,10 +63,14 @@ changes in sbcl-1.0.5 relative to sbcl-1.0.4: * bug fix: modifying the contents of an array could change the return value of SXHASH on that array, which is only allowed for strings and bit vectors (bug introduced in 0.9.16) - * improvement: the x86-64/darwin port now passes all tests and - should be considered non-experimental. + * improvement: the x86-64/darwin port now passes all tests (except + for the debugger tests) but should still be considered + experimental until this is fixed. * improvement: a style-warning is signaled for CASE (etc) clauses with duplicate keys (thanks to Kevin Reid) + * improvement: macos/x86 and macos/x86-64 now use mach exception + handlers for dealing with illegal instructions (for trapping and + error handling) and memory protection violations (for GC). changes in sbcl-1.0.4 relative to sbcl-1.0.3: * new platform: experimental support for x86-64/darwin (MacOS). diff --git a/make-config.sh b/make-config.sh index 01aa681..cb89368 100644 --- a/make-config.sh +++ b/make-config.sh @@ -219,10 +219,10 @@ case "$sbcl_os" in printf ' :bsd' >> $ltf printf ' :darwin' >> $ltf if [ $sbcl_arch = "x86" ]; then - printf ' :sb-lutex :restore-fs-segment-register-from-tls' >> $ltf + printf ' :mach-exception-handler :sb-lutex :restore-fs-segment-register-from-tls' >> $ltf fi if [ $sbcl_arch = "x86-64" ]; then - printf ' :sb-lutex' >> $ltf + printf ' :mach-exception-handler :sb-lutex' >> $ltf fi link_or_copy $sbcl_arch-darwin-os.h target-arch-os.h link_or_copy bsd-os.h target-os.h diff --git a/version.lisp-expr b/version.lisp-expr index ce77269..fb3aa19 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.4.107" +"1.0.4.108" -- 1.7.10.4