diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-04-06 09:29:53 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@gcc.gnu.org> | 2011-04-06 09:29:53 +0000 |
commit | 96621ebf37743e4882759f50f0f0b84a04fc1606 (patch) | |
tree | 6f562e4a90839b3b1efec9234293ec784b8f4427 | |
parent | 07c0852e00d2b163f52cdc47828b4277ca7e4889 (diff) | |
download | gcc-96621ebf37743e4882759f50f0f0b84a04fc1606.zip gcc-96621ebf37743e4882759f50f0f0b84a04fc1606.tar.gz gcc-96621ebf37743e4882759f50f0f0b84a04fc1606.tar.bz2 |
dbxout.c: (debug_nesting...
2011-04-06 Tristan Gingold <gingold@adacore.com>
* dbxout.c: (debug_nesting, symbol_queue, symbol_queue_index)
(symbol_queue_size, DBXOUT_DECR_NESTING)
(DBXOUT_DECR_NESTING_AND_RETURN): Also define
if XCOFF_DEBUGGING_INFO.
From-SVN: r172029
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/dbxout.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 74f210f..5ea0118 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-04-06 Tristan Gingold <gingold@adacore.com> + + * dbxout.c: (debug_nesting, symbol_queue, symbol_queue_index) + (symbol_queue_size, DBXOUT_DECR_NESTING) + (DBXOUT_DECR_NESTING_AND_RETURN): Also define + if XCOFF_DEBUGGING_INFO. + 2011-04-06 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (attribute isa): New. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 715632d..3190803 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -903,7 +903,7 @@ dbxout_finish_complex_stabs (tree sym, stab_code_type code, obstack_free (&stabstr_ob, str); } -#if defined (DBX_DEBUGGING_INFO) +#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO) /* When -gused is used, emit debug info for only used symbols. But in addition to the standard intercepted debug_hooks there are some @@ -926,6 +926,10 @@ static int symbol_queue_size = 0; #define DBXOUT_DECR_NESTING_AND_RETURN(x) \ do {--debug_nesting; return (x);} while (0) +#endif /* DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO */ + +#if defined (DBX_DEBUGGING_INFO) + static void dbxout_function_end (tree decl ATTRIBUTE_UNUSED) { |