From b646b438267cf0075094c191c4a60db69b758ac0 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 21 May 1993 20:43:16 +0000 Subject: * complaint.c: Make sure all complain() pass the address of the struct. * xcoffread.c: Make sure all struct complaints are static not auto. --- gdb/stabsread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/stabsread.c') diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 505528c..f9dbe77 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -534,7 +534,7 @@ define_symbol (valu, string, desc, type, objfile) goto normal; default: - complain (unrecognized_cplus_name_complaint, string); + complain (&unrecognized_cplus_name_complaint, string); goto normal; /* Do *something* with it */ } } @@ -1469,7 +1469,7 @@ rs6000_builtin_type (typenum) /* requires builtin `real' */ return lookup_fundamental_type (current_objfile, FT_FLOAT); default: - complain (rs6000_builtin_complaint, typenum); + complain (&rs6000_builtin_complaint, typenum); return NULL; } } @@ -2262,7 +2262,7 @@ read_tilde_fields (fip, pp, type, objfile) } } /* Virtual function table field not found. */ - complain (vtbl_notfound_complaint, TYPE_NAME (type)); + complain (&vtbl_notfound_complaint, TYPE_NAME (type)); return 0; } else -- cgit v1.1