diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-05-25 01:10:20 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-05-25 01:10:20 +0000 |
commit | ae23c49223273e227404b92bc17782ec5cc8f311 (patch) | |
tree | e2aadcd566bd9b2a02f73a91edd3d8b5cb00ca6c /gdb/testsuite/gdb.threads | |
parent | 40e3ba9bb7d85d35590a8828a42b3450e0dcb032 (diff) | |
download | gdb-ae23c49223273e227404b92bc17782ec5cc8f311.zip gdb-ae23c49223273e227404b92bc17782ec5cc8f311.tar.gz gdb-ae23c49223273e227404b92bc17782ec5cc8f311.tar.bz2 |
2001-05-24 Michael Snyder <msnyder@redhat.com>
* gdb.threads/pthreads.exp (test_startup): Relax test for thread
debugging. If test fails, issue an "unsupported" not a "fail".
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r-- | gdb/testsuite/gdb.threads/pthreads.exp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.threads/pthreads.exp b/gdb/testsuite/gdb.threads/pthreads.exp index e58de79..00140b6 100644 --- a/gdb/testsuite/gdb.threads/pthreads.exp +++ b/gdb/testsuite/gdb.threads/pthreads.exp @@ -197,13 +197,11 @@ proc test_startup {} { # We should be able to do an info threads before starting any others. send_gdb "info threads\n" gdb_expect { - -re ".*Thread.*LWP.*main.*$gdb_prompt $" { + -re ".*Thread.*main.*$gdb_prompt $" { pass "info threads" } -re "\r\n$gdb_prompt $" { - pass "info threads" - setup_xfail "*-*-*" - fail "gdb does not support pthreads for this machine" + unsupported "gdb does not support pthreads for this machine" return 0 } } |