diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
commit | b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180 (patch) | |
tree | f6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/debug.h | |
parent | 52e69d78eee5612ac195e0701a5cebe40d1ab0e1 (diff) | |
download | FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.zip FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.tar.gz |
Gcc 3.3.1-pre as of 2003-07-11.
Diffstat (limited to 'contrib/gcc/debug.h')
-rw-r--r-- | contrib/gcc/debug.h | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/contrib/gcc/debug.h b/contrib/gcc/debug.h index 1f4349d..11c996f 100644 --- a/contrib/gcc/debug.h +++ b/contrib/gcc/debug.h @@ -23,7 +23,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ toplev.c according to command line options. */ struct gcc_debug_hooks { - /* Initialise debug output. MAIN_FILENAME is the name of the main + /* Initialize debug output. MAIN_FILENAME is the name of the main input file. */ void (* init) PARAMS ((const char *main_filename)); @@ -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)); @@ -103,7 +103,7 @@ struct gcc_debug_hooks void (* label) PARAMS ((rtx)); }; -extern struct gcc_debug_hooks *debug_hooks; +extern const struct gcc_debug_hooks *debug_hooks; /* The do-nothing hooks. */ extern void debug_nothing_void @@ -124,28 +124,22 @@ extern void debug_nothing_rtx PARAMS ((rtx)); /* Hooks for various debug formats. */ -extern struct gcc_debug_hooks do_nothing_debug_hooks; -extern struct gcc_debug_hooks dbx_debug_hooks; -extern struct gcc_debug_hooks sdb_debug_hooks; -extern struct gcc_debug_hooks xcoff_debug_hooks; -extern struct gcc_debug_hooks dwarf_debug_hooks; -extern struct gcc_debug_hooks dwarf2_debug_hooks; -extern struct gcc_debug_hooks vmsdbg_debug_hooks; +extern const struct gcc_debug_hooks do_nothing_debug_hooks; +extern const struct gcc_debug_hooks dbx_debug_hooks; +extern const struct gcc_debug_hooks sdb_debug_hooks; +extern const struct gcc_debug_hooks xcoff_debug_hooks; +extern const struct gcc_debug_hooks dwarf_debug_hooks; +extern const struct gcc_debug_hooks dwarf2_debug_hooks; +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 */ |