* infrun.c (wait_for_inferior): Call registers_changed when

restarting the inferior to get over a nullified instructions.
Fixes PA testsuite regressions.
This commit is contained in:
Jeff Law 1996-04-27 05:56:07 +00:00
parent 656c5b6d7e
commit 7dbb5eed30
2 changed files with 12 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}