]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.6-threads-static-test.patch
- release 4
[packages/gdb.git] / gdb-6.6-threads-static-test.patch
CommitLineData
51a5ef0f
PS
1Index: gdb-7.1.90.20100711/gdb/testsuite/gdb.threads/staticthreads.exp
2===================================================================
3--- gdb-7.1.90.20100711.orig/gdb/testsuite/gdb.threads/staticthreads.exp 2010-06-02 23:53:28.000000000 +0200
4+++ gdb-7.1.90.20100711/gdb/testsuite/gdb.threads/staticthreads.exp 2010-07-12 11:43:26.000000000 +0200
5@@ -44,6 +44,18 @@ gdb_test_no_output "set print sevenbit-s
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+
14+set test "info threads on start"
15+gdb_test_multiple "info threads" "$test" {
16+ -re "^info threads\r?\n\[^\r\n\]* Thread \[^\r\n\]*\r?\n$gdb_prompt" {
17+ pass "$test"
18+ }
19+}
20+
3a58abaf
AM
21 gdb_test "break sem_post"
22 set test "Continue to main's call of sem_post"
23 gdb_test_multiple "continue" "$test" {
This page took 0.062018 seconds and 4 git commands to generate.