From ecde4882ba83d7e1aebaffed0450b877e0126592 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 5 Dec 2006 20:38:13 +0000 Subject: [PATCH] 2006-12-05 Adam Nemet * target.c (debug_to_remove_watchpoint): Call to_remove_watchpoint. Print target_remove_watchpoint. --- gdb/ChangeLog | 5 +++++ gdb/target.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0a8b9d156..c9769ab14e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-12-05 Adam Nemet + + * target.c (debug_to_remove_watchpoint): Call + to_remove_watchpoint. Print target_remove_watchpoint. + 2006-12-01 Daniel Jacobowitz * elfread.c (elf_symtab_read): Treat weak functions as global. diff --git a/gdb/target.c b/gdb/target.c index 349f1b6cb3..7133ebe859 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -2386,10 +2386,10 @@ debug_to_remove_watchpoint (CORE_ADDR addr, int len, int type) { int retval; - retval = debug_target.to_insert_watchpoint (addr, len, type); + retval = debug_target.to_remove_watchpoint (addr, len, type); fprintf_unfiltered (gdb_stdlog, - "target_insert_watchpoint (0x%lx, %d, %d) = %ld\n", + "target_remove_watchpoint (0x%lx, %d, %d) = %ld\n", (unsigned long) addr, len, type, (unsigned long) retval); return retval; } -- 2.34.1