diff options
Diffstat (limited to 'gdbstub.c')
-rw-r--r-- | gdbstub.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -518,7 +518,15 @@ static int gdb_continue_partial(char *newstates) int flag = 0; if (!runstate_needs_reset()) { - if (vm_prepare_start()) { + bool step_requested = false; + CPU_FOREACH(cpu) { + if (newstates[cpu->cpu_index] == 's') { + step_requested = true; + break; + } + } + + if (vm_prepare_start(step_requested)) { return 0; } |