aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-04-15 00:14:37 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-04-15 00:14:37 +0000
commit486b440e04ee758005b61095c3691a3e9be6c2a6 (patch)
treeae66fa718b29803fba0a0eb3cf5ea164d7ce92d5
parenta08317af9f9aed12440b307fabe05c91487635d7 (diff)
downloadgdb-486b440e04ee758005b61095c3691a3e9be6c2a6.zip
gdb-486b440e04ee758005b61095c3691a3e9be6c2a6.tar.gz
gdb-486b440e04ee758005b61095c3691a3e9be6c2a6.tar.bz2
* xcoffread.c (record_include_{begin,end}): Change fatal to complain.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/xcoffread.c18
2 files changed, 21 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 65475e0..19a2a8b 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 a8f9e7c..a33ad99 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;