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 /gdb/target.c | |
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.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |