aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/breakpoint.c14
-rw-r--r--gdb/breakpoint.h4
3 files changed, 5 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 56d1d5c..02845f1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-24 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * breakpont.c (remove_hw_watchpoints): Remove unused function.
+ * breakpoint.h remove_hw_watchpoints(): Remove prototype.
+
2011-05-23 Tom Tromey <tromey@redhat.com>
* c-lang.c (evaluate_subexp_c): Use expect_type if it is not
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;
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 7fa705f..0cbd9dd 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1151,10 +1151,6 @@ extern int ep_is_catchpoint (struct breakpoint *);
deletes all breakpoints. */
extern void delete_command (char *arg, int from_tty);
-/* Pull all H/W watchpoints from the target. Return non-zero if the
- remove fails. */
-extern int remove_hw_watchpoints (void);
-
/* Manage a software single step breakpoint (or two). Insert may be
called twice before remove is called. */
extern void insert_single_step_breakpoint (struct gdbarch *,