Test Run By dje on Fri Dec 15 17:47:20 2017 Native configuration is s390x-ibm-linux-gnu === gdb tests === Schedule of variations: native-gdbserver Running target native-gdbserver Using /home/dje/src/binutils-gdb/gdb/testsuite/boards/../boards/native-gdbserver.exp as board description file for target. Using /home/dje/src/binutils-gdb/gdb/testsuite/boards/../boards/gdbserver-base.exp as board description file for target. Using /home/dje/src/binutils-gdb/gdb/testsuite/boards/../boards/local-board.exp as board description file for target. Using /home/dje/src/binutils-gdb/gdb/testsuite/config/gdbserver.exp as tool-and-target-specific interface file. Running /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.exp ... Executing on host: gcc /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c -g -lpthreads -lm -o /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp (timeout = 300) spawn -ignore SIGHUP gcc /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c -g -lpthreads -lm -o /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status Executing on host: gcc /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c -g -lpthread -lm -o /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp (timeout = 300) spawn -ignore SIGHUP gcc /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c -g -lpthread -lm -o /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp PASS: gdb.threads/thread-specific-bp.exp: successfully compiled posix threads test case spawn /home/dje/build/GDB/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/dje/build/GDB/gdb/testsuite/../data-directory -ex set auto-connect-native-target off GNU gdb (GDB) 8.0.50.20171215-git Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "s390x-ibm-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads Source directories searched: /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp Reading symbols from /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x800006e6: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 36. (gdb) kill The program is not being run. (gdb) spawn /home/dje/build/GDB/gdb/testsuite/../gdbserver/gdbserver --once :2346 /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp Process /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp created; pid = 7962 Listening on port 2346 target remote localhost:2346 Remote debugging using localhost:2346 Reading /lib/ld64.so.1 from remote target... warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead. Reading /lib/ld64.so.1 from remote target... Reading symbols from target:/lib/ld64.so.1...Reading /lib/ld-2.19.so from remote target... Reading /lib/.debug/ld-2.19.so from remote target... (no debugging symbols found)...done. 0x000003fffdfd9280 in ?? () from target:/lib/ld64.so.1 (gdb) continue Continuing. Reading /lib/s390x-linux-gnu/libpthread.so.0 from remote target... Reading /lib/s390x-linux-gnu/libm.so.6 from remote target... Reading /lib/s390x-linux-gnu/libc.so.6 from remote target... Reading /lib/s390x-linux-gnu/libpthread-2.19.so from remote target... Reading /lib/s390x-linux-gnu/.debug/libpthread-2.19.so from remote target... Reading /lib/s390x-linux-gnu/libm-2.19.so from remote target... Reading /lib/s390x-linux-gnu/.debug/libm-2.19.so from remote target... Reading /lib/s390x-linux-gnu/libc-2.19.so from remote target... Reading /lib/s390x-linux-gnu/.debug/libc-2.19.so from remote target... Breakpoint 1, main () at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 36 pthread_create (&thread, NULL, start, NULL); (gdb) info threads Id Target Id Frame * 1 Thread 7962.7962 "thread-specific" main () at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 (gdb) PASS: gdb.threads/thread-specific-bp.exp: all-stop: get main thread id break start Breakpoint 2 at 0x800006ac: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 23. (gdb) continue Continuing. [New Thread 7962.7981] [Switching to Thread 7962.7981] Thread 2 "thread-specific" hit Breakpoint 2, start (arg=0x0) at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 23 return NULL; (gdb) PASS: gdb.threads/thread-specific-bp.exp: all-stop: continue to breakpoint: start info threads Id Target Id Frame 1 Thread 7962.7962 "thread-specific" 0x000003fffdfafc42 in pthread_join (threadid=4398010173712, thread_return=0x0) at pthread_join.c:92 * 2 Thread 7962.7981 "thread-specific" start (arg=0x0) at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 (gdb) PASS: gdb.threads/thread-specific-bp.exp: all-stop: get start thread id break main thread 2 Note: breakpoint 1 (all threads) also set at pc 0x800006e6. Breakpoint 3 at 0x800006e6: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 36. (gdb) info break Num Type Disp Enb Address What 1 breakpoint keep y 0x00000000800006e6 in main at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 breakpoint already hit 1 time 2 breakpoint keep y 0x00000000800006ac in start at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 breakpoint already hit 1 time 3 breakpoint keep y 0x00000000800006e6 in main at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 thread 2 stop only in thread 2 (gdb) PASS: gdb.threads/thread-specific-bp.exp: all-stop: breakpoint set break end Breakpoint 4 at 0x800006ca: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 29. (gdb) thread 1 [Switching to thread 1 (Thread 7962.7962)] #0 0x000003fffdfafc42 in pthread_join (threadid=4398010173712, thread_return=0x0) at pthread_join.c:92 92 pthread_join.c: No such file or directory. (gdb) PASS: gdb.threads/thread-specific-bp.exp: all-stop: thread 1 selected continue Continuing. Thread-specific breakpoint 3 deleted - thread 2 no longer in the thread list. Thread 1 "thread-specific" hit Breakpoint 4, end () at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:29 29 } (gdb) PASS: gdb.threads/thread-specific-bp.exp: all-stop: continue to end info breakpoint Num Type Disp Enb Address What 1 breakpoint keep y 0x00000000800006e6 in main at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 breakpoint already hit 1 time 2 breakpoint keep y 0x00000000800006ac in start at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 breakpoint already hit 1 time 4 breakpoint keep y 0x00000000800006ca in end at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:29 breakpoint already hit 1 time (gdb) PASS: gdb.threads/thread-specific-bp.exp: all-stop: thread-specific breakpoint was deleted Remote debugging from host 127.0.0.1 monitor exit Killing process(es): 7962 spawn /home/dje/build/GDB/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/dje/build/GDB/gdb/testsuite/../data-directory -ex set auto-connect-native-target off GNU gdb (GDB) 8.0.50.20171215-git Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "s390x-ibm-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads Source directories searched: /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp Reading symbols from /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp...done. (gdb) set non-stop on (gdb) PASS: gdb.threads/thread-specific-bp.exp: set non-stop mode delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x800006e6: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 36. (gdb) kill The program is not being run. (gdb) spawn /home/dje/build/GDB/gdb/testsuite/../gdbserver/gdbserver --once :2347 /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp Process /home/dje/build/GDB/gdb/testsuite/outputs/gdb.threads/thread-specific-bp/thread-specific-bp created; pid = 7997 Listening on port 2347 target remote localhost:2347 Remote debugging using localhost:2347 Reading /lib/ld64.so.1 from remote target... warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead. Reading /lib/ld64.so.1 from remote target... Reading symbols from target:/lib/ld64.so.1...Reading /lib/ld-2.19.so from remote target... Reading /lib/.debug/ld-2.19.so from remote target... (no debugging symbols found)...done. Program stopped. 0x000003fffdfd9280 in ?? () from target:/lib/ld64.so.1 (gdb) continue Continuing. Reading /lib/s390x-linux-gnu/libpthread.so.0 from remote target... Reading /lib/s390x-linux-gnu/libm.so.6 from remote target... Reading /lib/s390x-linux-gnu/libc.so.6 from remote target... Reading /lib/s390x-linux-gnu/libpthread-2.19.so from remote target... Reading /lib/s390x-linux-gnu/.debug/libpthread-2.19.so from remote target... Reading /lib/s390x-linux-gnu/libm-2.19.so from remote target... Reading /lib/s390x-linux-gnu/.debug/libm-2.19.so from remote target... Reading /lib/s390x-linux-gnu/libc-2.19.so from remote target... Reading /lib/s390x-linux-gnu/.debug/libc-2.19.so from remote target... Breakpoint 1, main () at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 36 pthread_create (&thread, NULL, start, NULL); (gdb) info threads Id Target Id Frame * 1 Thread 7997.7997 "thread-specific" main () at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 (gdb) PASS: gdb.threads/thread-specific-bp.exp: non-stop: get main thread id break start Breakpoint 2 at 0x800006ac: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 23. (gdb) continue Continuing. [New Thread 7997.8014] Thread 2 "thread-specific" hit Breakpoint 2, start (arg=0x0) at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 23 return NULL; (gdb) PASS: gdb.threads/thread-specific-bp.exp: non-stop: continue to breakpoint: start info threads Id Target Id Frame * 1 Thread 7997.7997 "thread-specific" (running) 2 Thread 7997.8014 "thread-specific" start (arg=0x0) at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 (gdb) PASS: gdb.threads/thread-specific-bp.exp: non-stop: get start thread id break main thread 2 Note: breakpoint 1 (all threads) also set at pc 0x800006e6. Breakpoint 3 at 0x800006e6: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 36. (gdb) info break Num Type Disp Enb Address What 1 breakpoint keep y 0x00000000800006e6 in main at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 breakpoint already hit 1 time 2 breakpoint keep y 0x00000000800006ac in start at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 breakpoint already hit 1 time 3 breakpoint keep y 0x00000000800006e6 in main at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 thread 2 stop only in thread 2 (gdb) PASS: gdb.threads/thread-specific-bp.exp: non-stop: breakpoint set break end Breakpoint 4 at 0x800006ca: file /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c, line 29. (gdb) thread 1 [Switching to thread 1 (Thread 7997.7997)](running) (gdb) PASS: gdb.threads/thread-specific-bp.exp: non-stop: thread 1 selected continue -a Continuing. Thread-specific breakpoint 3 deleted - thread 2 no longer in the thread list. Thread 1 "thread-specific" hit Breakpoint 4, end () at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:29 29 } (gdb) PASS: gdb.threads/thread-specific-bp.exp: non-stop: continue to end info breakpoint Num Type Disp Enb Address What 1 breakpoint keep y 0x00000000800006e6 in main at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:36 breakpoint already hit 1 time 2 breakpoint keep y 0x00000000800006ac in start at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:23 breakpoint already hit 1 time 4 breakpoint keep y 0x00000000800006ca in end at /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:29 breakpoint already hit 1 time (gdb) PASS: gdb.threads/thread-specific-bp.exp: non-stop: thread-specific breakpoint was deleted Remote debugging from host 127.0.0.1 monitor exit Killing process(es): 7997 testcase /home/dje/src/binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.exp completed in 1 seconds === gdb Summary === # of expected passes 16 Executing on host: /home/dje/build/GDB/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/dje/build/GDB/gdb/testsuite/../data-directory --version (timeout = 300) spawn -ignore SIGHUP /home/dje/build/GDB/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/dje/build/GDB/gdb/testsuite/../data-directory --version GNU gdb (GDB) 8.0.50.20171215-git Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "s390x-ibm-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". /home/dje/build/GDB/gdb/testsuite/../../gdb/gdb version 8.0.50.20171215-git -nw -nx -data-directory /home/dje/build/GDB/gdb/testsuite/../data-directory -ex "set auto-connect-native-target off" runtest completed at Fri Dec 15 17:47:22 2017