diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-04-28 00:50:30 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-04-28 00:50:30 +0000 |
commit | bea71854835d1f370e625e1b9b49833e510d0ae2 (patch) | |
tree | 2dfe4630c169f7e67cab03fa2204efdc133fe297 /gdb/testsuite | |
parent | a81a272ddb3fe490f75ec5a497daa4795abba3ed (diff) | |
download | gdb-bea71854835d1f370e625e1b9b49833e510d0ae2.zip gdb-bea71854835d1f370e625e1b9b49833e510d0ae2.tar.gz gdb-bea71854835d1f370e625e1b9b49833e510d0ae2.tar.bz2 |
* gdb.base/signals.exp: Make backtrace tests more specific.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/signals.exp | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 96b2838..a77bef9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-04-27 Daniel Jacobowitz <drow@mvista.com> + + * gdb.base/signals.exp: Make backtrace tests more specific. + 2003-04-23 David Carlton <carlton@bactrian.org> * gdb.c++/maint.exp (test_first_component): Add tests for diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp index 2bf7192..be97455 100644 --- a/gdb/testsuite/gdb.base/signals.exp +++ b/gdb/testsuite/gdb.base/signals.exp @@ -1,4 +1,4 @@ -# Copyright 1997, 1998, 1999 Free Software Foundation, Inc. +# Copyright 1997, 1998, 1999, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -185,7 +185,7 @@ proc signal_tests_1 {} { # #2, #3, or higher. At some point this should be fixed (but # it quite possibly would introduce new FAILs on some systems). setup_xfail "i*86-*-bsdi2.0" - gdb_test "backtrace 10" "#0.*handler.*#1.*#2.*main.*" \ + gdb_test "backtrace 10" "#0.*handler.*#1.*signal handler.*#2.* main .*" \ "backtrace in signals_tests_1" gdb_test "break func1" "Breakpoint \[0-9\]+ .*" @@ -415,7 +415,7 @@ The program being debugged stopped while in a function called from GDB.*" \ # But we should be able to backtrace... # On alpha-*-osf2.0 this test works when run manually but sometime fails when # run under dejagnu, making it very hard to debug the problem. Weird... - gdb_test "bt 10" "#0.*handler.*#1.*#2.*main.*" "bt in signals.exp" + gdb_test "bt 10" "#0.*handler.*#1.*signal handler.*#2.* main .*" "bt in signals.exp" # ...and continue... gdb_test "continue" "Continuing\\." "continue in signals.exp" # ...and then count should have been incremented |