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".
This commit is contained in:
parent
40e3ba9bb7
commit
ae23c49223
|
@ -1,3 +1,8 @@
|
|||
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".
|
||||
|
||||
2001-05-24 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
Don't assume that short is shorter than int.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue