From: Jim Kingdon Date: Mon, 15 Nov 1993 05:36:36 +0000 (+0000) Subject: * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6d7df56385acbcdab581a1a6a88efb7da8949c9;p=binutils-gdb.git * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle this (more or less) gracefully, and complain() was never a good way of dealing with this. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 81c809dc629..7e9a85da06b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ Sun Nov 14 00:28:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle + this (more or less) gracefully, and complain() was never a good + way of dealing with this. + * stabsread.c (read_type): Skip the colon when reading a cross-reference. Only complain, not error_type, on unrecognized cross-reference types. error_type, not dump core, if the colon is diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 3f037fb3e61..7e928613413 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -149,16 +149,6 @@ static const char vb_name[] = { '_','v','b',CPLUS_MARKER,'\0' }; #define BELIEVE_PCC_PROMOTION 0 #endif -#if 0 -struct complaint dbx_class_complaint = -{ - "encountered DBX-style class variable debugging information.\n\ -You seem to have compiled your program with \ -\"g++ -g0\" instead of \"g++ -g\".\n\ -Therefore GDB will not know about your class variables", 0, 0 -}; -#endif - struct complaint invalid_cpp_abbrev_complaint = {"invalid C++ abbreviation `%s'", 0, 0};