diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-11 16:57:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-11 16:57:04 +0000 |
commit | 42edda508ef24ada777099d51f200a3b674a1724 (patch) | |
tree | 08f7e9df5e68946ba1b718e14a79d4fcc3746dac /gdb/testsuite | |
parent | d28b44a731de335df91e1c950b8100d67edef854 (diff) | |
download | gdb-42edda508ef24ada777099d51f200a3b674a1724.zip gdb-42edda508ef24ada777099d51f200a3b674a1724.tar.gz gdb-42edda508ef24ada777099d51f200a3b674a1724.tar.bz2 |
2004-05-11 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Simplify code handling
step-into or return-from a signal trampoline.
Index: testsuite/ChangeLog
2004-05-11 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
fixed but revealed gdb/1639.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/sigstep.exp | 19 |
2 files changed, 17 insertions, 7 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 29a29cb..ae02e30 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-05-11 Andrew Cagney <cagney@redhat.com> + + * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is + fixed but revealed gdb/1639. + 2004-05-10 Andrew Cagney <cagney@redhat.com> * gdb.base/signals.exp (signal_tests_1): Simplify "continue to diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp index e0eaf75..ea16ec6 100644 --- a/gdb/testsuite/gdb.base/sigstep.exp +++ b/gdb/testsuite/gdb.base/sigstep.exp @@ -87,7 +87,8 @@ proc advance { i } { exp_continue } -re "Program exited normally.*${gdb_prompt} $" { - kfail gdb/1613 "$test (program exited)" + setup_kfail powerpc-*-*bsd* gdb/1639 + fail "$test (program exited)" } -re "(while ..done|return 0).*${gdb_prompt} $" { # After stepping out of a function /r signal-handler, GDB will @@ -122,13 +123,13 @@ proc advancei { i } { -re "signal handler called.*${gdb_prompt} $" { pass "$test" } - -re "Program exited normally.*${gdb_prompt} $" { - kfail gdb/1613 "$test (program exited)" - set program_exited 1 - } -re "main .*${gdb_prompt} $" { fail "$test (in main)" } + -re "Program exited normally.*${gdb_prompt} $" { + fail "$test (program exited)" + set program_exited 1 + } -re "Make handler return now.*y or n. $" { send_gdb "y\n" exp_continue @@ -151,12 +152,16 @@ proc advancei { i } { send_gdb "y\n" exp_continue } + -re "Program exited normally.*${gdb_prompt} $" { + kfail gdb/1639 "$test (program exited)" + set program_exited 1 + } -re "The program is not being run.*${gdb_prompt} $" { if { $program_exited } { # Previously kfailed with an exit - pass "$test (The program is not being run)" + pass "$test (the program is not being run)" } else { - fail "$test" + fail "$test (the program is not being run)" } } } |