2001-06-28 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 28 Jun 2001 21:34:03 +0000 (21:34 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 28 Jun 2001 21:34:03 +0000 (21:34 +0000)
commit80b34fabd3043272bd132a1479fcbd81d761b16a
treef63f9bea8a7a0bbfdcf141483f191afd3d41e8c2
parent1456ad8e67b1dd1b2e46fbc6e926bd312330ea24
2001-06-28  Michael Snyder  <msnyder@redhat.com>

* infrun.c (handle_inferior_event): Replace prev_pc test in all
calls to bpstat_stop_status (removed in 1999-09-24).  This test
helps distinguish stepping over a breakpoint trap from stepping
thru a jump to the instruction after a breakpoint trap.
(handle_inferior_event): Don't bother writing the PC if
DECR_PC_AFTER_BREAK is zero (optimization).
* breakpoint.c (bpstat_stop_status): Add comment explaining the
purpose and usage of the "not_a_breakpoint" argument in computing
the breakpoint address.
gdb/ChangeLog
gdb/breakpoint.c
gdb/infrun.c