* objc/objc-exception.h: New file.
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Sep 2010 21:03:09 +0000 (21:03 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Sep 2010 21:03:09 +0000 (21:03 +0000)
commita5974a584702f39174e0744e9647726e92f1a216
tree9b72d3e49901d1f748b383212af5d710212ac59c
parent0e18892cd3edaa71b4e5ed33857b660a8766fcae
* objc/objc-exception.h: New file.
* exception.c (objc_set_uncaught_exception_handler): Implemented.
(objc_set_exception_matcher): Implemented.
(objc_exception_throw): Use the uncaught exception handler if set.
(PERSONALITY_FUNCTION): Use the exception matcher instead of the
hardcoded isKindOf.
(isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
up.  Removed segmentation fault when value is 'nil'.
* objc/objc-api.h (_objc_unexpected_exception): Mark as
deprecated.
* Makefile.in (exception.lo, exception_gc.lo): Use
-Wno-deprecated-declarations when compiling.
(OBJC_H): Added objc-exception.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164023 138bc75d-0d04-0410-961f-82ee72b054a4
libobjc/ChangeLog
libobjc/Makefile.in
libobjc/exception.c
libobjc/objc/objc-api.h
libobjc/objc/objc-exception.h [new file with mode: 0644]