diff options
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)" } } } |