From f6d7df56385acbcdab581a1a6a88efb7da8949c9 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 15 Nov 1993 05:36:36 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 4 ++++ gdb/stabsread.c | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 81c809dc62..7e9a85da06 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 3f037fb3e6..7e92861341 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};