diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-12-17 00:39:08 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-12-17 00:39:08 +0000 |
commit | 231367095d5e01a7e3489d8333b43b94d2e1c58a (patch) | |
tree | a857f6ca2f28b469e935b67d801c958449168fbe /gdb/objc-lang.c | |
parent | bcc61ecbbb7bddfcb182b707c6c760d5b6e7c4e2 (diff) | |
download | gdb-231367095d5e01a7e3489d8333b43b94d2e1c58a.zip gdb-231367095d5e01a7e3489d8333b43b94d2e1c58a.tar.gz gdb-231367095d5e01a7e3489d8333b43b94d2e1c58a.tar.bz2 |
Replace complain() with complaint().
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r-- | gdb/objc-lang.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index 1f83511..45fe798 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -74,15 +74,6 @@ struct objc_method { /* Complaints about ObjC classes, selectors, etc. */ -static struct deprecated_complaint noclass_lookup_complaint = { - "no way to lookup Objective-C classes", 0, 0 -}; - -static struct deprecated_complaint nosel_lookup_complaint = { - "no way to lookup Objective-C selectors", 0, 0 -}; - - #if (!defined __GNUC__ || __GNUC__ < 2 || __GNUC_MINOR__ < (defined __cplusplus ? 6 : 4)) #define __CHECK_FUNCTION ((__const char *) 0) #else @@ -160,7 +151,8 @@ lookup_objc_class (char *classname) function = find_function_in_inferior("objc_lookup_class"); else { - complain (&noclass_lookup_complaint, 0); + complaint (&symfile_complaints, "no way to lookup Objective-C classes", + 0); return 0; } @@ -187,7 +179,8 @@ lookup_child_selector (char *selname) function = find_function_in_inferior("sel_get_any_uid"); else { - complain (&nosel_lookup_complaint, 0); + complaint (&symfile_complaints, "no way to lookup Objective-C selectors", + 0); return 0; } |