]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target.h
convert to_insert_hw_breakpoint
[thirdparty/binutils-gdb.git] / gdb / target.h
index 290f2f67a6e8f23e19a54dd9b3923aec499085dd..3b56b73af2ff7666e4f49567bb308655160e6a21 100644 (file)
@@ -459,7 +459,8 @@ struct target_ops
       TARGET_DEFAULT_RETURN (0);
     int (*to_ranged_break_num_registers) (struct target_ops *);
     int (*to_insert_hw_breakpoint) (struct target_ops *,
-                                   struct gdbarch *, struct bp_target_info *);
+                                   struct gdbarch *, struct bp_target_info *)
+      TARGET_DEFAULT_RETURN (-1);
     int (*to_remove_hw_breakpoint) (struct target_ops *,
                                    struct gdbarch *, struct bp_target_info *);