* breakpont.c (remove_hw_watchpoints): Remove unused function.

* breakpoint.h remove_hw_watchpoints(): Remove prototype.
This commit is contained in:
Thiago Jung Bauermann
2011-05-24 03:03:56 +00:00
parent c4334bf97b
commit 77bc418a4b
3 changed files with 5 additions and 18 deletions

View File

@ -2015,20 +2015,6 @@ remove_breakpoints_pid (int pid)
return 0;
}
int
remove_hw_watchpoints (void)
{
struct bp_location *bl, **blp_tmp;
int val = 0;
ALL_BP_LOCATIONS (bl, blp_tmp)
{
if (bl->inserted && bl->loc_type == bp_loc_hardware_watchpoint)
val |= remove_breakpoint (bl, mark_uninserted);
}
return val;
}
int
reattach_breakpoints (int pid)
{