dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO.
authorAndreas Schwab <schwab@suse.de>
Sat, 8 Nov 2003 18:49:00 +0000 (18:49 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 8 Nov 2003 18:49:00 +0000 (18:49 +0000)
* dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO ||
XCOFF_DEBUGGING_INFO.

From-SVN: r73370

gcc/ChangeLog
gcc/dbxout.c

index a71a779ff34d8e86a64ca62f346bd140fed1bca8..7835708d52c575b003ec0b32a4307d9522d033c6 100644 (file)
@@ -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.
index 94193313072389288f017f42392740a6a637992c..dee3839974aafba351e88da5210a038536ec6993 100644 (file)
@@ -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