* infrun.c (wait_for_inferior): Move assignments to stop_signal
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 19 May 1995 17:51:22 +0000 (17:51 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 19 May 1995 17:51:22 +0000 (17:51 +0000)
commita5298c2aa246496203af774a211f60267e95f582
tree5f922d9c341cc38cc4f786364ef4a7bd201d0b2a
parent7cdedb42c116aec4668f0922bacdb0e80cb90259
* infrun.c (wait_for_inferior): Move assignments to stop_signal
and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they
were--after the switch statement on w.kind.  You can't read the
registers of an inferior which has exited.  Use a goto in the
STOPPED_BY_WATCHPOINT code.
* infrun.c (wait_for_inferior): Reinstate
HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.
gdb/ChangeLog