* infrun.c (wait_for_inferior): Call registers_changed when
authorJeff Law <law@redhat.com>
Sat, 27 Apr 1996 05:56:07 +0000 (05:56 +0000)
committerJeff Law <law@redhat.com>
Sat, 27 Apr 1996 05:56:07 +0000 (05:56 +0000)
        restarting the inferior to get over a nullified instructions.
Fixes PA testsuite regressions.

gdb/ChangeLog
gdb/infrun.c

index 0a74d522bae0508612239fabc7348c7bd81c07e3..d24cc6c897e5404eaa4b2454e466759802354bd2 100644 (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.
 
index 568147a858eaa8e2a64f96a9f35a2a617d46a59b..7f644bd80b1bc29ff215c2d76e017e563f7703bb 100644 (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;
        }