From b922281abe41c6d48002ac95e2fa34dab15b4572 Mon Sep 17 00:00:00 2001 From: ccoutant Date: Thu, 29 Oct 2009 18:13:27 +0000 Subject: gcc/ChangeLog: PR debug/41700 * dwarf2out.c (dwarf2_debug_hooks): Add entries for new hook (two locations in the source). (store_vcall_insn): New function. (lookup_vcall_insn): New function. (dwarf2out_virtual_call_token): Use store_vcall_insn. (dwarf2out_copy_call_info): New function. (dwarf2out_virtual_call): Use lookup_vcall_insn. * emit-rtl.c (try_split): Call copy_call_info debug hook. * debug.h (struct gcc_debug_hooks): Add copy_call_info hook. * debug.c (do_nothing_debug_hooks): Add dummy entry for new hook. (debug_nothing_rtx_rtx): New dummy hook. * dbxout.c (dbx_debug_hooks): Add dummy entry for new hook. (xcoff_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153719 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/sdbout.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/sdbout.c') diff --git a/gcc/sdbout.c b/gcc/sdbout.c index e7d52a63c70..7d5c820e8d0 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -340,6 +340,7 @@ const struct gcc_debug_hooks sdb_debug_hooks = debug_nothing_void, /* switch_text_section */ debug_nothing_tree, /* direct_call */ debug_nothing_tree_int, /* virtual_call_token */ + debug_nothing_rtx_rtx, /* copy_call_info */ debug_nothing_uid, /* virtual_call */ debug_nothing_tree_tree, /* set_name */ 0 /* start_end_main_source_file */ @@ -1732,6 +1733,7 @@ const struct gcc_debug_hooks sdb_debug_hooks = 0, /* switch_text_section */ 0, /* direct_call */ 0, /* virtual_call_token */ + 0, /* copy_call_info */ 0, /* virtual_call */ 0, /* set_name */ 0 /* start_end_main_source_file */ -- cgit v1.2.1