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
This commit is contained in:
Tristan Gingold 2011-04-06 09:29:53 +00:00 committed by Tristan Gingold
parent 07c0852e00
commit 96621ebf37
2 changed files with 12 additions and 1 deletions

View File

@ -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.

View File

@ -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)
{