OSDN Git Service

2004-08-30 Andrew Cagney <cagney@gnu.org>
authorcagney <cagney>
Mon, 30 Aug 2004 16:59:39 +0000 (16:59 +0000)
committercagney <cagney>
Mon, 30 Aug 2004 16:59:39 +0000 (16:59 +0000)
commit6e03fd5743124dc974558baf52fe6ca1ec9c65eb
treec18b9e8949efa1d0925549ca5c8c5e2edbeab99a
parent6db27251fe24d0f0c6cd4ab6c9a6266175809bec
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