aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2002-08-15 19:59:29 +0000
committerDouglas Rupp <rupp@gcc.gnu.org>2002-08-15 19:59:29 +0000
commit702ada3d9474db60c7447412f63f4247963e6357 (patch)
treebdbae6da52e6f6fb59f194e9c2ee1f9c94af5c94 /gcc/dwarfout.c
parentcb94b1559a2bad9dafd7e117127604d6076973b1 (diff)
downloadgcc-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/dwarfout.c')
-rw-r--r--gcc/dwarfout.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index 1f7817a..5e62123 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -1,6 +1,6 @@
/* Output Dwarf format symbol table information from the GNU C compiler.
Copyright (C) 1992, 1993, 1995, 1996, 1997, 1998, 2002,
- 1999, 2000, 2001 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@monkeys.com) of Network Computing Devices.
This file is part of GCC.
@@ -782,9 +782,9 @@ static void dwarfout_end_source_file PARAMS ((unsigned));
static void dwarfout_end_source_file_check PARAMS ((unsigned));
static void dwarfout_begin_block PARAMS ((unsigned, unsigned));
static void dwarfout_end_block PARAMS ((unsigned, unsigned));
-static void dwarfout_end_epilogue PARAMS ((void));
+static void dwarfout_end_epilogue PARAMS ((unsigned int, const char *));
static void dwarfout_source_line PARAMS ((unsigned int, const char *));
-static void dwarfout_end_prologue PARAMS ((unsigned int));
+static void dwarfout_end_prologue PARAMS ((unsigned int, const char *));
static void dwarfout_end_function PARAMS ((unsigned int));
static void dwarfout_function_decl PARAMS ((tree));
static void dwarfout_global_decl PARAMS ((tree));
@@ -5835,8 +5835,9 @@ dwarfout_end_block (line, blocknum)
to their home locations). */
static void
-dwarfout_end_prologue (line)
+dwarfout_end_prologue (line, file)
unsigned int line ATTRIBUTE_UNUSED;
+ const char *file ATTRIBUTE_UNUSED;
{
char label[MAX_ARTIFICIAL_LABEL_BYTES];
@@ -5869,7 +5870,9 @@ dwarfout_end_function (line)
has been generated. */
static void
-dwarfout_end_epilogue ()
+dwarfout_end_epilogue (line, file)
+ unsigned int line ATTRIBUTE_UNUSED;
+ const char *file ATTRIBUTE_UNUSED;
{
char label[MAX_ARTIFICIAL_LABEL_BYTES];