diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-22 23:18:43 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-22 23:18:43 +0000 |
commit | 7a4afb3fb73098908209f1ce953ad6bb8cf72ecc (patch) | |
tree | 799a9a1311ed8a193206a711f79a301221abc71d /gcc/debug.h | |
parent | d50879bc374e498497960d44d049aa4c121a5b76 (diff) | |
download | gcc-7a4afb3fb73098908209f1ce953ad6bb8cf72ecc.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96902 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.h')
-rw-r--r-- | gcc/debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/debug.h b/gcc/debug.h index 547b7f68eab..3feccc53313 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -119,6 +119,10 @@ struct gcc_debug_hooks /* Called from final_scan_insn for any NOTE_INSN_VAR_LOCATION note. */ void (* var_location) (rtx); + + /* This is 1 if the debug writer wants to see start and end commands for the + main source files, and 0 otherwise. */ + int start_end_main_source_file; }; extern const struct gcc_debug_hooks *debug_hooks; |