From b420396fcf9487f7208a496369f30e2f3c19551e Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Fri, 31 Aug 2007 07:02:43 +0000 Subject: [PATCH] dbxout.c (dbxout_block): Move declaration within the first #if defined (DBX_DEBUGGING_INFO) block. 2007-08-31 Olivier Hainque * 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 --- gcc/ChangeLog | 7 +++++++ gcc/dbxout.c | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 483728dd3e6..bb950e92329 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-08-31 Olivier Hainque + + * 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 Revital Eres diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 1d47eed8724..2494eda46be 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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) { -- 2.30.2