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)
commit68f5350246f10891ea2dfa170e2f67a1465b84b0
treef01bd8c3a34f07fcd3765af2ed0f778512c54ed8
parent9cb3fa6fd242b34da6824ce77783b730ae34c353
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