Update staticthreads.exp to handle debugging info in libpthread.a. --- gdb/testsuite/gdb.threads/staticthreads.exp | 4 ++++ 1 file changed, 4 insertions(+) Index: gdb-6.6.dfsg/gdb/testsuite/gdb.threads/staticthreads.exp =================================================================== --- gdb-6.6.dfsg.orig/gdb/testsuite/gdb.threads/staticthreads.exp 2007-01-27 20:35:19.000000000 -0500 +++ gdb-6.6.dfsg/gdb/testsuite/gdb.threads/staticthreads.exp 2007-01-27 20:35:31.000000000 -0500 @@ -53,6 +53,10 @@ gdb_test_multiple "continue" "$test" { -re " sem_post .*$gdb_prompt " { pass "$test" } + -re " (.*_)sem_post .*$gdb_prompt " { + # Glibc uses aliases for internal symbols; match __new_sem_post. + pass "$test" + } -re "Program received signal .*$gdb_prompt " { kfail gdb/1328 "$test" }