OSDN Git Service

2004-08-30 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Mon, 30 Aug 2004 16:59:45 +0000 (16:59 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 30 Aug 2004 16:59:45 +0000 (16:59 +0000)
commitc88c95f0a79cf9ad4e4410533bd91acd8e9a5b72
treee4adb71e86d07de48f58b03910c1180115830966
parent0c7f5403b8a833a95c70218dad92c8656d5307f3
2004-08-30  Andrew Cagney  <cagney@gnu.org>

Fix PR breakpoints/1757.
* infrun.c (struct execution_control_state): Replace
remove_breakpoints_on_following_step with
step_after_step_resume_breakpoint.
(init_execution_control_state): Update.
(handle_inferior_event): For signals, when stepping off a
breakpoint, set step_after_step_resume_breakpoint.  When
BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
(keep_going): Delete code handling
remove_breakpoints_on_following_step.

Index: testsuite/ChangeLog
2004-08-30  Andrew Cagney  <cagney@gnu.org>

* gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
gdb/1757.
gdb/ChangeLog
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/sigstep.exp