summaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2001-12-02 09:38:07 -0500
committerRichard Kenner <kenner@gcc.gnu.org>2001-12-02 09:38:07 -0500
commit7a0c8d71088734946dd249184acb92f594ba9ddd (patch)
treee42e03bca7b1d30a4e1957a95213853fa5c9a849 /gcc/debug.h
parente773246d9c11d0d34f03a921959e9db75ed7a84b (diff)
downloadgcc-7a0c8d71088734946dd249184acb92f594ba9ddd.tar.gz
vms.h (VMS_DEBUGGING_INFO): New macro.
* config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro. (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG. (ASM_SPEC): Don't redefine. (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define. * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm. * config/alpha/vms-dwarf2.asm: New file. * Makefile.in (OBJS): Add vmsdbgout.c and its rule. * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG. * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks. (vmsdbgout_after_prologue): New declaration. * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE. * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address. * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG. (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG. (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address. (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG. Test VMS_DEBUGGING_INFO. (final_end_function): Test for VMS_AND_DWARF2_DEBUG. (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG. * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG. * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and VMS_AND_DWARF2_DEBUG. (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG. (decode_g_option): Add "vms" to debug_type_names. (process_options): Set vmsdbg_debug_hooks if -gvms. (lang_independent_init): Emit line number for VMS unless -g0. * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG. * vmsdbg.h, vmsdbgout.c: New files. From-SVN: r47532
Diffstat (limited to 'gcc/debug.h')
-rw-r--r--gcc/debug.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/debug.h b/gcc/debug.h
index 3626ed554e0..865e5f86e1b 100644
--- a/gcc/debug.h
+++ b/gcc/debug.h
@@ -133,22 +133,22 @@ 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;
/* Dwarf2 frame information. */
-/* FILE is NULL iff being called for frame information for non-dwarf
- debug output. */
-extern void dwarf2out_begin_prologue
- PARAMS ((unsigned int, const char * file));
-extern void dwarf2out_end_epilogue
- PARAMS ((void));
-extern void dwarf2out_frame_init
- PARAMS ((void));
-extern void dwarf2out_frame_finish
- PARAMS ((void));
+extern void dwarf2out_begin_prologue PARAMS ((unsigned int, const char *));
+extern void dwarf2out_end_epilogue PARAMS ((void));
+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));
+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 */