diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-30 16:59:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-30 16:59:45 +0000 |
commit | 68f5350246f10891ea2dfa170e2f67a1465b84b0 (patch) | |
tree | f01bd8c3a34f07fcd3765af2ed0f778512c54ed8 /gdb/testsuite | |
parent | 9cb3fa6fd242b34da6824ce77783b730ae34c353 (diff) | |
download | gdb-68f5350246f10891ea2dfa170e2f67a1465b84b0.zip gdb-68f5350246f10891ea2dfa170e2f67a1465b84b0.tar.gz gdb-68f5350246f10891ea2dfa170e2f67a1465b84b0.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/sigstep.exp | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ad2524d..ef2b73d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-08-30 Andrew Cagney <cagney@gnu.org> + + * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail + gdb/1757. + 2004-08-27 Michael Chastain <mec.gnu@mindspring.com> With code from Manoj Iyer <manjo@austin.ibm.com>: diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp index 942b912..2304091 100644 --- a/gdb/testsuite/gdb.base/sigstep.exp +++ b/gdb/testsuite/gdb.base/sigstep.exp @@ -328,7 +328,6 @@ proc breakpoint_over_handler { i } { # Make the signal pending sleep 1 - setup_kfail "powerpc*-*-*" gdb/1757 gdb_test "$i" "done = 0.*" "$prefix; performing $i" gdb_test "clear $infinite_loop" "" "$prefix; clear infinite loop" } |