summaryrefslogtreecommitdiff
path: root/gcc/debug.c
diff options
context:
space:
mode:
authorccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-29 18:13:27 +0000
committerccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-29 18:13:27 +0000
commitb922281abe41c6d48002ac95e2fa34dab15b4572 (patch)
tree7087fae8b2855105cb47e6bdcf53fef7dda8d854 /gcc/debug.c
parent57bb39d9fee50cd68eba31a440501cf0777f657e (diff)
downloadgcc-b922281abe41c6d48002ac95e2fa34dab15b4572.tar.gz
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
Diffstat (limited to 'gcc/debug.c')
-rw-r--r--gcc/debug.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/debug.c b/gcc/debug.c
index c413595078b..c60a78d4708 100644
--- a/gcc/debug.c
+++ b/gcc/debug.c
@@ -53,6 +53,7 @@ const struct gcc_debug_hooks do_nothing_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 */
@@ -97,6 +98,12 @@ debug_nothing_rtx (rtx insn ATTRIBUTE_UNUSED)
}
void
+debug_nothing_rtx_rtx (rtx insn ATTRIBUTE_UNUSED,
+ rtx new_insn ATTRIBUTE_UNUSED)
+{
+}
+
+void
debug_nothing_charstar (const char *main_filename ATTRIBUTE_UNUSED)
{
}