From: Fred Fish Date: Sat, 14 Mar 1992 19:47:11 +0000 (+0000) Subject: Only enable compilation of debugging functions when IBM6000 is defined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0750528ab6401a40f6673eeb29b58dea7a6e92b9;p=binutils-gdb.git Only enable compilation of debugging functions when IBM6000 is defined as well as DEBUG. Fails to compile otherwise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 773632ae915..401efb6960e 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 90d5f30fe24..302d4d79fda 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 () {