From e139ff5bdafba1214616e1e3f72f224cdfa1eb64 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 8 Nov 2003 18:49:00 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/dbxout.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a71a779ff34d..7835708d52c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-08 Andreas Schwab + + * dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || + XCOFF_DEBUGGING_INFO. + 2003-11-08 Kaveh R. Ghazi * dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 941933130723..dee3839974aa 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 -- 2.47.3