diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 05bf6ab..e0e9ffa 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -67,7 +67,6 @@ #include "gdbsupport/scope-exit.h" #include "gdbsupport/forward-scope-exit.h" #include "gdbsupport/gdb_select.h" -#include <unordered_map> #include "async-event.h" #include "gdbsupport/selftest.h" #include "scoped-mock-context.h" @@ -94,8 +93,6 @@ static void insert_step_resume_breakpoint_at_caller (const frame_info_ptr &); static void insert_longjmp_resume_breakpoint (struct gdbarch *, CORE_ADDR); -static bool maybe_software_singlestep (struct gdbarch *gdbarch); - static void resume (gdb_signal sig); static void wait_for_inferior (inferior *inf); @@ -2360,23 +2357,6 @@ set_schedlock_func (const char *args, int from_tty, struct cmd_list_element *c) process. */ bool sched_multi = false; -/* Try to setup for software single stepping. Return true if target_resume() - should use hardware single step. - - GDBARCH the current gdbarch. */ - -static bool -maybe_software_singlestep (struct gdbarch *gdbarch) -{ - bool hw_step = true; - - if (execution_direction == EXEC_FORWARD - && gdbarch_software_single_step_p (gdbarch)) - hw_step = !insert_single_step_breakpoints (gdbarch); - - return hw_step; -} - /* See infrun.h. */ ptid_t |