diff options
author | Douglas B Rupp <rupp@gnat.com> | 2002-08-15 19:59:29 +0000 |
---|---|---|
committer | Douglas Rupp <rupp@gcc.gnu.org> | 2002-08-15 19:59:29 +0000 |
commit | 702ada3d9474db60c7447412f63f4247963e6357 (patch) | |
tree | bdbae6da52e6f6fb59f194e9c2ee1f9c94af5c94 /gcc/debug.h | |
parent | cb94b1559a2bad9dafd7e117127604d6076973b1 (diff) | |
download | gcc-702ada3d9474db60c7447412f63f4247963e6357.zip gcc-702ada3d9474db60c7447412f63f4247963e6357.tar.gz gcc-702ada3d9474db60c7447412f63f4247963e6357.tar.bz2 |
dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
* dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
(xcoff_debug_hooks): Update end_prologue.
* debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
* debug.h (end_prologue): Add file arg.
(end_epilogue): Add line and file args.
(dwarf2out_end_epilogue): Add line and file args.
(vmsdbgout_after_prologue): Remove.
* dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
(dwarf2_debug_hooks): Update end_prologue.
* dwarfout.c (dwarfout_end_epilogue): Add line and file args.
(dwarfout_end_prologue): Add file arg.
* final.c (vmsdbgout_after_prologue): Remove
(final_end_function): Update end_epilogue call.
(final_scan_insn): Update end_prologue call.
* sdbout.c (sdbout_end_epilogue): Add line and file args.
(sdbout_end_prologue): Add file arg.
(sdb_debug_hooks): Update end_prologue.
(sdb_begin_prologue): Update sdbout_end_prologue call.
* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
vmsdbgout_end_function.
(vmsdbgout_end_prologue): New function renamed from
vmsdbgout_after_prologue. Call vmsdbgout_source_line.
(vmsdbgout_end_function): New function.
(vmsdbgout_end_epilogue): Add line and file args. Call
vmsdbgout_source_line.
(write_pclines): Write only valid line numbers.
(write_srccorr): Don't write source correlation records if 0 lines.
* xcoffout.c (xcoffout_end_epilogue): Add line and file args.
From-SVN: r56356
Diffstat (limited to 'gcc/debug.h')
-rw-r--r-- | gcc/debug.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/debug.h b/gcc/debug.h index a8b1954..8b65567 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -68,10 +68,10 @@ struct gcc_debug_hooks /* Called at end of prologue code. LINE is the first line in the function. */ - void (* end_prologue) PARAMS ((unsigned int line)); + void (* end_prologue) PARAMS ((unsigned int line, const char *file)); /* Record end of epilogue code. */ - void (* end_epilogue) PARAMS ((void)); + void (* end_epilogue) PARAMS ((unsigned int line, const char *file)); /* Called at start of function DECL, before it is declared. */ void (* begin_function) PARAMS ((tree decl)); @@ -135,17 +135,11 @@ extern const struct gcc_debug_hooks vmsdbg_debug_hooks; /* Dwarf2 frame information. */ extern void dwarf2out_begin_prologue PARAMS ((unsigned int, const char *)); -extern void dwarf2out_end_epilogue PARAMS ((void)); +extern void dwarf2out_end_epilogue PARAMS ((unsigned int, const char *)); extern void dwarf2out_frame_init PARAMS ((void)); extern void dwarf2out_frame_finish PARAMS ((void)); /* Decide whether we want to emit frame unwind information for the current translation unit. */ extern int dwarf2out_do_frame PARAMS ((void)); -/* When writing VMS debug info, output label after the prologue of the - function. */ -extern void vmsdbgout_after_prologue PARAMS ((void)); - - - #endif /* !GCC_DEBUG_H */ |