* gdbarch.sh (displaced_step_hw_singlestep): New callback.
[deliverable/binutils-gdb.git] / gdb / arch-utils.c
index 5cf4afd4f4c47a05497e8ab44fb22d9ae69efeed..b58c562c4a3357648dc9243b577eb76e07d74bfc 100644 (file)
@@ -67,6 +67,12 @@ simple_displaced_step_free_closure (struct gdbarch *gdbarch,
   xfree (closure);
 }
 
+int
+default_displaced_step_hw_singlestep (struct gdbarch *gdbarch,
+                                     struct displaced_step_closure *closure)
+{
+  return !gdbarch_software_single_step_p (gdbarch);
+}
 
 CORE_ADDR
 displaced_step_at_entry_point (struct gdbarch *gdbarch)
This page took 0.024698 seconds and 4 git commands to generate.