]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* breakpont.c (remove_hw_watchpoints): Remove unused function.
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Tue, 24 May 2011 03:03:56 +0000 (03:03 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Tue, 24 May 2011 03:03:56 +0000 (03:03 +0000)
* breakpoint.h remove_hw_watchpoints(): Remove prototype.

gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h

index 56d1d5c7b341ca96287450a17fa9f0bb5b1f0a5a..02845f159ba577974fe644fd5211388614297487 100644 (file)
@@ -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
index 70931045b3eb5e54fbae7b6c3c8964f3550d216d..c1e00136bb9d32fa76a32fc208f6229aae03b75a 100644 (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)
 {
index 7fa705fa2f938f684092421a4a104ae6f38c3b5f..0cbd9dd7888d3685265a2294bb42294303af006f 100644 (file)
@@ -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 *,