aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-11-08 18:49:00 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2003-11-08 18:49:00 +0000
commite139ff5bdafba1214616e1e3f72f224cdfa1eb64 (patch)
tree5e50dbcd90c314ae9ea72520be2b7697255a4435
parentf145ed6b9019abf219cdda108cc08f867b586611 (diff)
downloadgcc-e139ff5bdafba1214616e1e3f72f224cdfa1eb64.zip
gcc-e139ff5bdafba1214616e1e3f72f224cdfa1eb64.tar.gz
gcc-e139ff5bdafba1214616e1e3f72f224cdfa1eb64.tar.bz2
dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO.
* dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO. From-SVN: r73370
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dbxout.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a71a779..7835708 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-08 Andreas Schwab <schwab@suse.de>
+
+ * dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO ||
+ XCOFF_DEBUGGING_INFO.
+
2003-11-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL.
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 9419331..dee3839 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -203,7 +203,8 @@ struct dbx_file
should always be 0 because we should not have needed any file numbers
yet. */
-#ifdef DBX_USE_BINCL
+#if (defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)) \
+ && defined (DBX_USE_BINCL)
static struct dbx_file *current_file;
#endif