diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-05-24 17:14:50 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-05-24 17:14:50 +0000 |
commit | 0a791409a5b60732cc3dbceb088010f29b1b3cb3 (patch) | |
tree | 46f345455224169349da7aa861e54aea4e30c868 /gdb/testsuite | |
parent | 96dd789021b098df588e856b0570e893242c37d6 (diff) | |
download | gdb-0a791409a5b60732cc3dbceb088010f29b1b3cb3.zip gdb-0a791409a5b60732cc3dbceb088010f29b1b3cb3.tar.gz gdb-0a791409a5b60732cc3dbceb088010f29b1b3cb3.tar.bz2 |
2000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/annota1.exp (annotate-signal-handler-caller):
Relax the regular expression a little, make it pass on Solaris 8.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/annota1.exp | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0f7d436..b6f4ee5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-05-18 Michael Snyder <msnyder@seadog.cygnus.com> + + * gdb.base/annota1.exp (annotate-signal-handler-caller): + Relax the regular expression a little, make it pass on Solaris 8. + 2000-05-12 Kevin Buettner <kevinb@redhat.com> * gdb.base/step-test.exp: On IA-64 targets, when stepping out of diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index 9791a9c..d38858d 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -277,10 +277,11 @@ match_max 3000 verbose "match_max now is: [match_max]" send_gdb "backtrace\n" gdb_expect { - -re "frame-begin 0 $hex.*0.*frame-end.*frame-begin 1 $hex.*1.*(\032\032signal-handler-caller\r\n.signal handler called.\r\n\r\n)*\032\032frame-end\r\n\r\n\032\032frame-begin 2 $hex.*2.*(frame-begin 3 $hex.*3.*)*frame-end.*$gdb_prompt$" \ - { pass "backtrace @ signal handler" } - -re ".*$gdb_prompt$" { fail "backtrace @ signal handler" } - timeout { fail "backtrace @ signal handler (timeout)" } + -re "frame-begin 0 $hex\r\n#0.*frame-end.*frame-begin 1 $hex\r\n#1.*(\032\032signal-handler-caller\r\n.signal handler called.\r\n\r\n)*\032\032frame-end\r\n\r\n\032\032frame-begin 2 $hex\r\n#2.*(frame-begin 3 $hex\r\n#3.*)*frame-end.*$gdb_prompt$" { + pass "backtrace @ signal handler" + } + -re ".*$gdb_prompt$" { fail "backtrace @ signal handler" } + timeout { fail "backtrace @ signal handler (timeout)" } } # |