aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2011-05-24 03:03:56 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-05-24 03:03:56 +0000
commit77bc418a4ba1ec495402841d1bb556f36b9979ab (patch)
treefe29b456e4f3833ea65dadbb67a4a8dfc7a01d34 /gdb/breakpoint.c
parentc4334bf97b4a56581c68edfc5ca9a893138b85ed (diff)
downloadgdb-77bc418a4ba1ec495402841d1bb556f36b9979ab.zip
gdb-77bc418a4ba1ec495402841d1bb556f36b9979ab.tar.gz
gdb-77bc418a4ba1ec495402841d1bb556f36b9979ab.tar.bz2
* breakpont.c (remove_hw_watchpoints): Remove unused function.
* breakpoint.h remove_hw_watchpoints(): Remove prototype.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 7093104..c1e0013 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -2016,20 +2016,6 @@ remove_breakpoints_pid (int pid)
}
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)
{
struct cleanup *old_chain;