gdb: add target_ops methods for displaced stepping
[deliverable/binutils-gdb.git] / gdb / displaced-stepping.c
index f373be79642fcf52234ff7808962932812534bb0..5ada1632257a2d7f43046a3e7e6cac4e4c099f04 100644 (file)
@@ -176,3 +176,19 @@ multiple_displaced_buffer_manager::finish (gdbarch *arch, thread_info *thread,
 
   return status;
 }
+
+displaced_step_prepare_status
+  default_displaced_step_prepare (target_ops *target, thread_info *thread)
+{
+  gdbarch *arch = thread->arch ();
+  return gdbarch_displaced_step_prepare (arch, thread);
+}
+
+displaced_step_finish_status
+default_displaced_step_finish (target_ops *target,
+                              thread_info *thread,
+                              gdb_signal sig)
+{
+  gdbarch *arch = thread->arch ();
+  return gdbarch_displaced_step_finish (arch, thread, sig);
+}
This page took 0.023005 seconds and 4 git commands to generate.