(objc_verror): New function.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Feb 1997 00:41:03 +0000 (19:41 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 3 Feb 1997 00:41:03 +0000 (19:41 -0500)
commit7e46250027e3654b430af0db8ffc0f6c822a2c7f
treecd783b7a928f3129734756e2a1456dd7a9c6a20c
parent241365d3cca8fbfa14551346155b669450ad70d3
(objc_verror): New function.

(objc_fatal): Remove function.
(objc_set_error_handler): New function.
(_objc_error_handler): New global variable.
(__alpha__): Remove unneeded code.
(objc_error): Allow user specified error handler function to trap and
handle the objc error.  Added an error code parameter which indicates
the specific error that occured.
(objc_malloc, objc_atomic_malloc): Replace call to objc_fatal function
with call to objc_error function.
(objc_valloc, objc_realloc, objc_calloc): Likewise.

From-SVN: r13589
gcc/objc/misc.c