From 8d60d2bc69bbdca290a0014c9d03326983f331f5 Mon Sep 17 00:00:00 2001 From: kenner Date: Sun, 2 Dec 2001 14:38:07 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47532 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/debug.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'gcc/debug.h') 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 */ -- cgit v1.2.3