]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.6-threads-static-test.patch
- typo
[packages/gdb.git] / gdb-6.6-threads-static-test.patch
CommitLineData
f412e1b4 1Index: gdb-7.4.50.20111219/gdb/testsuite/gdb.threads/staticthreads.exp
51a5ef0f 2===================================================================
f412e1b4
PS
3--- gdb-7.4.50.20111219.orig/gdb/testsuite/gdb.threads/staticthreads.exp 2011-12-19 21:07:01.436475201 +0100
4+++ gdb-7.4.50.20111219/gdb/testsuite/gdb.threads/staticthreads.exp 2011-12-19 22:08:55.444514127 +0100
5@@ -45,6 +45,13 @@ gdb_test_no_output "set print sevenbit-s
51a5ef0f 6 # See if the static multi-threaded program runs.
3a58abaf 7
51a5ef0f 8 runto_main
3a58abaf
AM
9+
10+# See if we get excessive LWP there (patched glibc with unpatched GDB):
11+# * 2 Thread 135661664 (LWP 3856) main () at threadloop.c:41
12+# 1 process 3856 main () at threadloop.c:41
13+
f412e1b4 14+gdb_test "info threads" "^info threads\r\n\[ \t\]*Id\[ \t\]+Target Id\[ \t\]+Frame\[ \t\]*\r\n\[^\r\n\]* Thread \[^\r\n\]*" "info threads on start"
3a58abaf 15+
3a58abaf
AM
16 gdb_test "break sem_post"
17 set test "Continue to main's call of sem_post"
18 gdb_test_multiple "continue" "$test" {
This page took 0.217931 seconds and 4 git commands to generate.