2006-12-05 Adam Nemet <anemet@caviumnetworks.com>

* target.c (debug_to_remove_watchpoint): Call
	to_remove_watchpoint.  Print target_remove_watchpoint.
This commit is contained in:
Daniel Jacobowitz
2006-12-05 20:38:13 +00:00
parent fc0c78a1d9
commit ecde4882ba
2 changed files with 7 additions and 2 deletions

View 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.

View 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;
}