]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-6.6-threads-static-test.patch
- NOTE: does not build with -j2
[packages/gdb.git] / gdb-6.6-threads-static-test.patch
1 --- gdb-6.6/gdb/testsuite/gdb.threads/staticthreads.exp-orig    2005-04-30 21:56:47.000000000 +0200
2 +++ gdb-6.6/gdb/testsuite/gdb.threads/staticthreads.exp 2008-01-11 14:30:15.000000000 +0100
3 @@ -44,9 +44,21 @@ gdb_load ${binfile}
4  gdb_test "set print sevenbit-strings" ""
5  
6  
7 +runto_main
8 +
9 +# See if we get excessive LWP there (patched glibc with unpatched GDB):
10 +# * 2 Thread 135661664 (LWP 3856)  main () at threadloop.c:41
11 +#   1 process 3856  main () at threadloop.c:41
12 +
13 +set test "info threads on start"
14 +gdb_test_multiple "info threads" "$test" {
15 +    -re "^info threads\r?\n\[^\r\n\]* Thread \[^\r\n\]*\r?\n$gdb_prompt" {
16 +       pass "$test"
17 +    }
18 +}
19 +
20  # See if the static multi-threaded program runs.
21  
22 -runto_main
23  gdb_test "break sem_post"
24  set test "Continue to main's call of sem_post"
25  gdb_test_multiple "continue" "$test" {
This page took 0.027084 seconds and 3 git commands to generate.