diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-12-05 20:38:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-12-05 20:38:13 +0000 |
commit | ecde4882ba83d7e1aebaffed0450b877e0126592 (patch) | |
tree | d18f7502550537b5fe5b8a93138eae195265e7fe | |
parent | fc0c78a1d9f9c07b63468cc65ecc5cef68e7d8a6 (diff) | |
download | gdb-ecde4882ba83d7e1aebaffed0450b877e0126592.zip gdb-ecde4882ba83d7e1aebaffed0450b877e0126592.tar.gz gdb-ecde4882ba83d7e1aebaffed0450b877e0126592.tar.bz2 |
2006-12-05 Adam Nemet <anemet@caviumnetworks.com>
* target.c (debug_to_remove_watchpoint): Call
to_remove_watchpoint. Print target_remove_watchpoint.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/target.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0a8b9d..c9769ab 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/target.c b/gdb/target.c index 349f1b6..7133ebe 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; } |