diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 568147a..7f644bd 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -722,6 +722,11 @@ wait_for_inferior () { struct target_waitstatus tmpstatus; +#if 0 + resume (1,0); + continue; +#endif + registers_changed (); target_resume (pid, 1, TARGET_SIGNAL_0); /* We may have received a signal that we want to pass to @@ -733,6 +738,7 @@ wait_for_inferior () else target_wait (pid, &tmpstatus); + goto have_waited; } |