diff options
author | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-31 07:02:43 +0000 |
---|---|---|
committer | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-31 07:02:43 +0000 |
commit | 4ceb34b95ca6d58c4b231798b2ba707d88e7a97c (patch) | |
tree | 84635504dde338f0eb9f38765d12e18366efd84d /gcc/dbxout.c | |
parent | a9de045e3994baa4e0ccb0bc3055e7ef3e697cd7 (diff) | |
download | gcc-4ceb34b95ca6d58c4b231798b2ba707d88e7a97c.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 7 |
1 files changed, 5 insertions, 2 deletions
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) { |