* 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.
This commit is contained in:
Jim Kingdon 1993-11-15 05:36:36 +00:00
parent cca528fa66
commit f6d7df5638
2 changed files with 4 additions and 10 deletions

View file

@ -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

View file

@ -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};