aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-02-02 19:39:22 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-02-02 19:39:22 -0500
commit86eb7fef043f07a3221bc639dec53d4474a01c21 (patch)
tree711c18f9b8a87005fc30f537b7e9b54ba282e7fd /gcc
parent72c6da8a74f1ab9974649a16140db1c046c12ec8 (diff)
downloadgcc-86eb7fef043f07a3221bc639dec53d4474a01c21.zip
gcc-86eb7fef043f07a3221bc639dec53d4474a01c21.tar.gz
gcc-86eb7fef043f07a3221bc639dec53d4474a01c21.tar.bz2
(objc_get_class): Replace call to abort function with call to
objc_error function. From-SVN: r13586
Diffstat (limited to 'gcc')
-rw-r--r--gcc/objc/class.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/objc/class.c b/gcc/objc/class.c
index ae7d280..23bea15 100644
--- a/gcc/objc/class.c
+++ b/gcc/objc/class.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime class related functions
- Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup and Dennis Glatting.
This file is part of GNU CC.
@@ -143,8 +143,8 @@ objc_get_class (const char *name)
if(class)
return class;
- fprintf(stderr, "objc runtime: cannot find class %s\n", name);
- abort();
+ objc_error(nil, OBJC_ERR_BAD_CLASS,
+ "objc runtime: cannot find class %s\n", name);
}
MetaClass