This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Relax sem_post name check again
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 27 Jul 2007 11:46:13 -0400
- Subject: [commit] Relax sem_post name check again
This patch lets the staticthreads.exp test pass with a sufficiently
new unstripped glibc; without it, " sem_post " fails to match
" __new_sem_post ". Committed after testing on powerpc-linux.
--
Daniel Jacobowitz
CodeSourcery
2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/staticthreads.exp: Match .*sem_post.
Index: gdb.threads/staticthreads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/staticthreads.exp,v
retrieving revision 1.3
diff -u -p -r1.3 staticthreads.exp
--- gdb.threads/staticthreads.exp 9 Jan 2007 17:59:14 -0000 1.3
+++ gdb.threads/staticthreads.exp 27 Jul 2007 15:44:29 -0000
@@ -50,7 +50,7 @@ runto_main
gdb_test "break sem_post"
set test "Continue to main's call of sem_post"
gdb_test_multiple "continue" "$test" {
- -re " sem_post .*$gdb_prompt " {
+ -re "Breakpoint .*, .*sem_post .*$gdb_prompt " {
pass "$test"
}
-re "Program received signal .*$gdb_prompt " {