From 0750528ab6401a40f6673eeb29b58dea7a6e92b9 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sat, 14 Mar 1992 19:47:11 +0000 Subject: [PATCH] Only enable compilation of debugging functions when IBM6000 is defined as well as DEBUG. Fails to compile otherwise. --- gdb/ChangeLog | 5 +++++ gdb/xcoffread.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 () { -- 2.30.2