From: Richard Kenner Date: Mon, 3 Feb 1997 00:42:25 +0000 (-0500) Subject: (__objc_forward): Replace call to abort function with call to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb0bc1e9b443cc206bff8d9a7d14c3fd38aca3b1;p=gcc.git (__objc_forward): Replace call to abort function with call to objc_error function. From-SVN: r13592 --- diff --git a/gcc/objc/sendmsg.c b/gcc/objc/sendmsg.c index 21b0880b991..4d49b35d056 100644 --- a/gcc/objc/sendmsg.c +++ b/gcc/objc/sendmsg.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime message lookup - Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GNU CC. @@ -566,8 +566,7 @@ __objc_forward (id object, SEL sel, arglist_t args) /* The object doesn't respond to doesNotRecognize: or error:; Therefore, a default action is taken. */ - fprintf (stderr, "fatal: %s\n", msg); - abort (); + objc_error (object, OBJC_ERR_UNIMPLEMENTED, "%s\n", msg); } }