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/sdbout.c | |
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/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index aa928de..9effe7851 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -102,12 +102,12 @@ static void sdbout_end_source_file PARAMS ((unsigned int)); static void sdbout_begin_block PARAMS ((unsigned int, unsigned int)); static void sdbout_end_block PARAMS ((unsigned int, unsigned int)); static void sdbout_source_line PARAMS ((unsigned int, const char *)); -static void sdbout_end_epilogue PARAMS ((void)); +static void sdbout_end_epilogue PARAMS ((unsigned int, const char *)); static void sdbout_global_decl PARAMS ((tree)); #ifndef MIPS_DEBUGGING_INFO static void sdbout_begin_prologue PARAMS ((unsigned int, const char *)); #endif -static void sdbout_end_prologue PARAMS ((unsigned int)); +static void sdbout_end_prologue PARAMS ((unsigned int, const char *)); static void sdbout_begin_function PARAMS ((tree)); static void sdbout_end_function PARAMS ((unsigned int)); static void sdbout_toplevel_data PARAMS ((tree)); @@ -321,7 +321,7 @@ const struct gcc_debug_hooks sdb_debug_hooks = sdbout_end_prologue, /* end_prologue */ #else sdbout_begin_prologue, /* begin_prologue */ - debug_nothing_int, /* end_prologue */ + debug_nothing_int_charstar, /* end_prologue */ #endif sdbout_end_epilogue, /* end_epilogue */ sdbout_begin_function, /* begin_function */ @@ -1642,13 +1642,14 @@ sdbout_begin_prologue (line, file) unsigned int line; const char *file ATTRIBUTE_UNUSED; { - sdbout_end_prologue (line); + sdbout_end_prologue (line, file); } #endif static void -sdbout_end_prologue (line) +sdbout_end_prologue (line, file) unsigned int line; + const char *file ATTRIBUTE_UNUSED; { sdb_begin_function_line = line - 1; PUT_SDB_FUNCTION_START (line); @@ -1678,7 +1679,9 @@ sdbout_end_function (line) Called after the epilogue is output. */ static void -sdbout_end_epilogue () +sdbout_end_epilogue (line, file) + unsigned int line ATTRIBUTE_UNUSED; + const char *file ATTRIBUTE_UNUSED; { const char *const name ATTRIBUTE_UNUSED = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)); |