diff options
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 0211b5d..eddbbff 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1047,7 +1047,7 @@ step_once (int skip_subroutines, int single_inst, int count, int thread) THREAD is set. */ struct thread_info *tp = inferior_thread (); - clear_proceed_status (!skip_subroutines); + clear_proceed_status (1); set_step_frame (); if (!single_inst) @@ -1121,6 +1121,7 @@ step_once (int skip_subroutines, int single_inst, int count, int thread) tp->control.step_over_calls = STEP_OVER_ALL; tp->step_multi = (count > 1); + tp->control.stepping_command = 1; proceed ((CORE_ADDR) -1, GDB_SIGNAL_DEFAULT, 1); /* For async targets, register a continuation to do any |