From 7dbb5eed30ee8209520867109aa9871b22d1d604 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 27 Apr 1996 05:56:07 +0000 Subject: [PATCH] * infrun.c (wait_for_inferior): Call registers_changed when restarting the inferior to get over a nullified instructions. Fixes PA testsuite regressions. --- gdb/ChangeLog | 6 ++++++ gdb/infrun.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0a74d522bae..d24cc6c897e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,10 @@ +Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com) + + * infrun.c (wait_for_inferior): Call registers_changed when + restarting the inferior to get over a nullified instructions. + Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com) + * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c: Add new support for parsing cfront stabs. diff --git a/gdb/infrun.c b/gdb/infrun.c index 568147a858e..7f644bd80b1 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; } -- 2.30.2