2017-02-27 21:30:32 +00:00
|
|
|
Index: gdb-7.12.50.20170207/gdb/testsuite/gdb.threads/staticthreads.exp
|
2010-07-21 21:30:20 +00:00
|
|
|
===================================================================
|
2017-02-27 21:30:32 +00:00
|
|
|
--- gdb-7.12.50.20170207.orig/gdb/testsuite/gdb.threads/staticthreads.exp 2017-02-26 17:24:48.392316045 +0100
|
|
|
|
+++ gdb-7.12.50.20170207/gdb/testsuite/gdb.threads/staticthreads.exp 2017-02-26 17:25:38.649677595 +0100
|
|
|
|
@@ -41,6 +41,13 @@
|
2010-07-21 21:30:20 +00:00
|
|
|
# See if the static multi-threaded program runs.
|
2008-01-12 16:16:46 +00:00
|
|
|
|
2010-07-21 21:30:20 +00:00
|
|
|
runto_main
|
2008-01-12 16:16:46 +00:00
|
|
|
+
|
|
|
|
+# See if we get excessive LWP there (patched glibc with unpatched GDB):
|
|
|
|
+# * 2 Thread 135661664 (LWP 3856) main () at threadloop.c:41
|
|
|
|
+# 1 process 3856 main () at threadloop.c:41
|
|
|
|
+
|
2012-01-03 15:00:12 +00:00
|
|
|
+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"
|
2008-01-12 16:16:46 +00:00
|
|
|
+
|
|
|
|
gdb_test "break sem_post"
|
2017-02-27 21:30:32 +00:00
|
|
|
set test "continue to main's call of sem_post"
|
2008-01-12 16:16:46 +00:00
|
|
|
gdb_test_multiple "continue" "$test" {
|