dbxout.c (dbxout_block): Move declaration within the first #if defined (DBX_DEBUGGING_INFO) block.

2007-08-31  Olivier Hainque  <hainque@adacore.com>

	* dbxout.c (dbxout_block): Move declaration within the first
	#if defined (DBX_DEBUGGING_INFO) block.  Rearrange another such
	block to include the definition, together with the associated
	helpers.

From-SVN: r127955
This commit is contained in:
Olivier Hainque 2007-08-31 07:02:43 +00:00 committed by Olivier Hainque
parent 960386232c
commit b420396fcf
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2007-08-31 Olivier Hainque <hainque@adacore.com>
* dbxout.c (dbxout_block): Move declaration within the first
#if defined (DBX_DEBUGGING_INFO) block. Rearrange another such
block to include the definition, together with the associated
helpers.
2007-08-31 David Edelsohn <edelsohn@gnu.org>
Revital Eres <eres@il.ibm.com>

View File

@ -326,7 +326,6 @@ static void dbxout_type_name (tree);
static void dbxout_class_name_qualifiers (tree);
static int dbxout_symbol_location (tree, tree, const char *, rtx);
static void dbxout_symbol_name (tree, const char *, int);
static void dbxout_block (tree, int, tree);
static void dbxout_global_decl (tree);
static void dbxout_type_decl (tree, int);
static void dbxout_handle_pch (unsigned);
@ -1215,6 +1214,9 @@ dbxout_handle_pch (unsigned at_end)
}
#if defined (DBX_DEBUGGING_INFO)
static void dbxout_block (tree, int, tree);
/* Output debugging info to FILE to switch to sourcefile FILENAME. */
static void
@ -3343,6 +3345,8 @@ dbxout_args (tree args)
}
}
#if defined (DBX_DEBUGGING_INFO)
/* Subroutine of dbxout_block. Emit an N_LBRAC stab referencing LABEL.
BEGIN_LABEL is the name of the beginning of the function, which may
be required. */
@ -3473,7 +3477,6 @@ dbxout_block (tree block, int depth, tree args)
Usually this follows the function's code,
but on some systems, it comes before. */
#if defined (DBX_DEBUGGING_INFO)
static void
dbxout_begin_function (tree decl)
{