]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2006-12-05 Adam Nemet <anemet@caviumnetworks.com>
authorDaniel Jacobowitz <drow@false.org>
Tue, 5 Dec 2006 20:38:13 +0000 (20:38 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 5 Dec 2006 20:38:13 +0000 (20:38 +0000)
* target.c (debug_to_remove_watchpoint): Call
to_remove_watchpoint.  Print target_remove_watchpoint.

gdb/ChangeLog
gdb/target.c

index c0a8b9d1564475986f35e3abadd0f26b949a2ab6..c9769ab14e7d705887c99998d46a9607630e6cfb 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-05  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * target.c (debug_to_remove_watchpoint): Call
+       to_remove_watchpoint.  Print target_remove_watchpoint.
+
 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * elfread.c (elf_symtab_read): Treat weak functions as global.
index 349f1b6cb328a44ba47275172fa384f630dbdb91..7133ebe85999fa08eb894360acad0b890c7c5c87 100644 (file)
@@ -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;
 }