aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-03-14 19:47:11 +0000
committerFred Fish <fnf@specifix.com>1992-03-14 19:47:11 +0000
commit0750528ab6401a40f6673eeb29b58dea7a6e92b9 (patch)
treebd806dbe6c6ca7452ea322b009c8fc30595a4fb5 /gdb
parent88be9b53191d114a58b3212241ca27af334cdf5d (diff)
downloadgdb-0750528ab6401a40f6673eeb29b58dea7a6e92b9.zip
gdb-0750528ab6401a40f6673eeb29b58dea7a6e92b9.tar.gz
gdb-0750528ab6401a40f6673eeb29b58dea7a6e92b9.tar.bz2
Only enable compilation of debugging functions when IBM6000 is defined
as well as DEBUG. Fails to compile otherwise.
Diffstat (limited to 'gdb')
-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 ()
{