From: Jim Kingdon Date: Thu, 15 Apr 1993 00:14:37 +0000 (+0000) Subject: * xcoffread.c (record_include_{begin,end}): Change fatal to complain. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=486b440e04ee758005b61095c3691a3e9be6c2a6;p=binutils-gdb.git * xcoffread.c (record_include_{begin,end}): Change fatal to complain. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 65475e08acd..19a2a8b7d0a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Wed Apr 14 17:12:51 1993 Jim Kingdon (kingdon@cygnus.com) + + * xcoffread.c (record_include_{begin,end}): Change fatal to complain. + +Wed Apr 14 14:03:18 1993 Per Bothner (bothner@cygnus.com) + + * ch-exp.y: Fix thinko that broke parsing of FALSE. + Wed Apr 14 12:49:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * stabsread.c (read_member_functions): Initialize domain for stubbed diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index a8f9e7c0b58..a33ad99b6ae 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -404,12 +404,17 @@ static void record_include_begin (cs) struct coff_symbol *cs; { - /* In xcoff, we assume include files cannot be nested (not in .c files - of course, but in corresponding .s files.) */ - if (inclDepth) - fatal ("xcoff internal: pending include file exists."); + { + /* In xcoff, we assume include files cannot be nested (not in .c files + of course, but in corresponding .s files.). */ + /* 14 Apr 93: A user said he got this message, but said he'd deleted + the test case. I changed it from a fatal() to a complain() + and changed the wording. */ + struct complaint msg = {"Nested C_BINCL symbols", 0, 0}; + complain (&msg); + } ++inclDepth; /* allocate an include file, or make room for the new entry */ @@ -440,7 +445,10 @@ struct coff_symbol *cs; InclTable *pTbl; if (inclDepth == 0) - fatal ("xcoff internal: Mismatch C_BINCL/C_EINCL pair found."); + { + struct complaint msg = {"Mismatched C_BINCL/C_EINCL pair", 0, 0}; + complain (&msg); + } pTbl = &inclTable [inclIndx]; pTbl->end = cs->c_value;