struct gdbarch;
struct thread_info;
+struct target_ops;
enum displaced_step_prepare_status
{
displaced_step_finish_status finish (gdbarch *arch, thread_info *thread,
gdb_signal sig);
+ CORE_ADDR first_buf_addr () const
+ {
+ return m_buffers[0].m_buffer_addr;
+ }
+
private:
std::vector<displaced_step_buffer_state> m_buffers;
};
+bool default_supports_displaced_step (target_ops *target, thread_info *thread);
+
+displaced_step_prepare_status
+ default_displaced_step_prepare (target_ops *target, thread_info *thread);
+
+displaced_step_finish_status
+ default_displaced_step_finish (target_ops *target, thread_info *thread,
+ gdb_signal sig);
#endif /* DISPLACED_STEPPING_H */