Only enable compilation of debugging functions when IBM6000 is defined
authorFred Fish <fnf@specifix.com>
Sat, 14 Mar 1992 19:47:11 +0000 (19:47 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 14 Mar 1992 19:47:11 +0000 (19:47 +0000)
as well as DEBUG.  Fails to compile otherwise.

gdb/ChangeLog
gdb/xcoffread.c

index 773632a..401efb6 100644 (file)
@@ -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.
index 90d5f30..302d4d7 100644 (file)
@@ -2273,7 +2273,7 @@ char **pp;
 
 #define DEBUG 1
 
-#ifdef DEBUG
+#if defined (DEBUG) && defined (IBM6000)       /* Needs both defined */
 void
 dump_strtbl ()
 {