From: Daniel Jacobowitz Date: Tue, 5 Dec 2006 20:38:13 +0000 (+0000) Subject: 2006-12-05 Adam Nemet X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecde4882ba83d7e1aebaffed0450b877e0126592;p=binutils-gdb.git 2006-12-05 Adam Nemet * target.c (debug_to_remove_watchpoint): Call to_remove_watchpoint. Print target_remove_watchpoint. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0a8b9d1564..c9769ab14e7 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 349f1b6cb32..7133ebe8599 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; }