From: gingold Date: Wed, 6 Apr 2011 09:29:53 +0000 (+0000) Subject: 2011-04-06 Tristan Gingold X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96df1423020a301c34bc62a1f52bcebfbd889dc4;p=thirdparty%2Fgcc.git 2011-04-06 Tristan Gingold * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172029 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 74f210ffb191..5ea011856a36 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-04-06 Tristan Gingold + + * 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 * config/i386/i386.md (attribute isa): New. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 715632d3322c..3190803f9c49 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) {