aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/xcoffread.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 773632a..401efb6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Sat Mar 14 11:44:47 1992 Fred Fish (fnf@cygnus.com)
+
+ * xcoffread.c: Only enable compilation of debugging functions
+ if IBM6000 is defined. Fails to compile otherwise.
+
Fri Mar 13 15:51:11 1992 K. Richard Pixley (rich@cygnus.com)
* Makefile.in: pass MAKEINFO down on info.
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 90d5f30..302d4d7 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -2273,7 +2273,7 @@ char **pp;
#define DEBUG 1
-#ifdef DEBUG
+#if defined (DEBUG) && defined (IBM6000) /* Needs both defined */
void
dump_strtbl ()
{