Commit eb0bc1e9 by Richard Kenner

(__objc_forward): Replace call to abort function with call to

objc_error function.

From-SVN: r13592
parent efa7c88e
/* 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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment