]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target.c
convert to_insert_hw_breakpoint
[thirdparty/binutils-gdb.git] / gdb / target.c
index c48ee010d8e48de3a50e3532a57fabb77efea0a9..b03d9a95d1f7479e8325abe3067258c97c85ea25 100644 (file)
@@ -605,7 +605,7 @@ update_current_target (void)
       /* Do not inherit to_insert_breakpoint.  */
       /* Do not inherit to_remove_breakpoint.  */
       /* Do not inherit to_can_use_hw_breakpoint.  */
-      INHERIT (to_insert_hw_breakpoint, t);
+      /* Do not inherit to_insert_hw_breakpoint.  */
       INHERIT (to_remove_hw_breakpoint, t);
       /* Do not inherit to_ranged_break_num_registers.  */
       INHERIT (to_insert_watchpoint, t);
@@ -734,10 +734,6 @@ update_current_target (void)
            (int (*) (CORE_ADDR, gdb_byte *, int, int,
                      struct mem_attrib *, struct target_ops *))
            nomemory);
-  de_fault (to_insert_hw_breakpoint,
-           (int (*) (struct target_ops *, struct gdbarch *,
-                     struct bp_target_info *))
-           return_minus_one);
   de_fault (to_remove_hw_breakpoint,
            (int (*) (struct target_ops *, struct gdbarch *,
                      struct bp_target_info *))