diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-03-22 23:18:43 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-03-22 23:18:43 +0000 |
commit | 9e9945c5b254a1ca528623ae19b68f1995f1fd52 (patch) | |
tree | 799a9a1311ed8a193206a711f79a301221abc71d /gcc/dbxout.c | |
parent | 8ff24a798e576cd22463248fb6975b5b58fd094e (diff) | |
download | gcc-9e9945c5b254a1ca528623ae19b68f1995f1fd52.zip gcc-9e9945c5b254a1ca528623ae19b68f1995f1fd52.tar.gz gcc-9e9945c5b254a1ca528623ae19b68f1995f1fd52.tar.bz2 |
c-opts.c (c_common_parse_file): Only start/end main source file if debug hooks says the writer wants it.
2005-03-22 Daniel Berlin <dberlin@dberlin.org>
* c-opts.c (c_common_parse_file): Only start/end main source file
if debug hooks says the writer wants it.
* dbxout.c (dbx_debug_hooks): Add start_end_main_source_file
member.
(xcoff_debug_hooks): Ditto.
* debug.c (do_nothing_hooks): Ditto.
* debug.h (gcc_debug_hooks): Ditto.
* dwarf2out.c (dwarf2_debug_hooks): Ditto.
* sdbout.c (sdb_debug_hooks): Ditto.
* vmsdbgout.c (vmsdbg_debug_hooks): Ditto.
From-SVN: r96902
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 6383d48..271cc19 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -378,7 +378,8 @@ const struct gcc_debug_hooks dbx_debug_hooks = debug_nothing_tree, /* outlining_inline_function */ debug_nothing_rtx, /* label */ dbxout_handle_pch, /* handle_pch */ - debug_nothing_rtx /* var_location */ + debug_nothing_rtx, /* var_location */ + 0 /* start_end_main_source_file */ }; #endif /* DBX_DEBUGGING_INFO */ @@ -408,7 +409,8 @@ const struct gcc_debug_hooks xcoff_debug_hooks = debug_nothing_tree, /* outlining_inline_function */ debug_nothing_rtx, /* label */ dbxout_handle_pch, /* handle_pch */ - debug_nothing_rtx /* var_location */ + debug_nothing_rtx, /* var_location */ + 0 /* start_end_main_source_file */ }; #endif /* XCOFF_DEBUGGING_INFO */ |