aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2007-08-31 07:02:43 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2007-08-31 07:02:43 +0000
commitb420396fcf9487f7208a496369f30e2f3c19551e (patch)
tree84635504dde338f0eb9f38765d12e18366efd84d /gcc/dbxout.c
parent960386232ce5d65c424187d6987c2ebf86df4785 (diff)
downloadgcc-b420396fcf9487f7208a496369f30e2f3c19551e.zip
gcc-b420396fcf9487f7208a496369f30e2f3c19551e.tar.gz
gcc-b420396fcf9487f7208a496369f30e2f3c19551e.tar.bz2
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
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 1d47eed..2494eda 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)
{