This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] further tweak for pthreads.exp testcase
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] further tweak for pthreads.exp testcase
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Thu, 24 May 2001 18:09:50 -0700
- Organization: Red Hat
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".
Index: gdb.threads/pthreads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/pthreads.exp,v
retrieving revision 1.4
diff -c -3 -p -r1.4 pthreads.exp
*** pthreads.exp 2001/05/24 19:54:41 1.4
--- pthreads.exp 2001/05/25 01:07:18
*************** proc test_startup {} {
*** 197,209 ****
# 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 $" {
pass "info threads"
}
-re "\r\n$gdb_prompt $" {
! pass "info threads"
! setup_xfail "*-*-*"
! fail "gdb does not support pthreads for this machine"
return 0
}
}
--- 197,207 ----
# We should be able to do an info threads before starting any others.
send_gdb "info threads\n"
gdb_expect {
! -re ".*Thread.*main.*$gdb_prompt $" {
pass "info threads"
}
-re "\r\n$gdb_prompt $" {
! unsupported "gdb does not support pthreads for this machine"
return 0
}
}