Test run by simark on Tue Mar 24 10:46:56 2020 Native configuration is x86_64-pc-linux-gnu === gdb tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/simark/src/binutils-gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /home/simark/src/binutils-gdb/gdb/testsuite/gdb.threads/hang-after-ext-sigkill.exp ... get_compiler_info: gcc-9-3-0 Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -o /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill0.o /home/simark/src/binutils-gdb/gdb/testsuite/gdb.threads/hang-after-ext-sigkill.c (timeout = 300) spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -o /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill0.o /home/simark/src/binutils-gdb/gdb/testsuite/gdb.threads/hang-after-ext-sigkill.c Executing on host: gcc -fno-stack-protector /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill0.o -fdiagnostics-color=never -lpthreads -lm -o /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill (timeout = 300) spawn -ignore SIGHUP gcc -fno-stack-protector /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill0.o -fdiagnostics-color=never -lpthreads -lm -o /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill /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 -fno-stack-protector /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill0.o -fdiagnostics-color=never -lpthread -lm -o /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill (timeout = 300) spawn -ignore SIGHUP gcc -fno-stack-protector /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill0.o -fdiagnostics-color=never -lpthread -lm -o /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill PASS: gdb.threads/hang-after-ext-sigkill.exp: successfully compiled posix threads test case spawn /home/simark/build/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/simark/build/binutils-gdb/gdb/testsuite/../data-directory warning: Found custom handler for signal 7 (Bus error) preinstalled. warning: Found custom handler for signal 8 (Floating point exception) preinstalled. warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) won't be propagated to spawned programs. GNU gdb (GDB) 10.0.50.20200324-git Copyright (C) 2020 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 "x86_64-pc-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/simark/src/binutils-gdb/gdb/testsuite/gdb.threads Source directories searched: /home/simark/src/binutils-gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill Reading symbols from /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill... (No debugging symbols found in /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill) (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) tbreak main Temporary breakpoint 1 at 0x1165 (gdb) run Starting program: /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/../lib/libthread_db.so.1". Temporary breakpoint 1, 0x0000555555555165 in main () (gdb) info inferior 1 Num Description Connection Executable * 1 process 511301 1 (native) /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.threads/hang-after-ext-sigkill/hang-after-ext-sigkill (gdb) PASS: gdb.threads/hang-after-ext-sigkill.exp: get inferior pid continue Continuing. PASS: gdb.threads/hang-after-ext-sigkill.exp: continue [New Thread 0x7ffff7c53700 (LWP 511305)] ^C Thread 2 "hang-after-ext-" received signal SIGINT, Interrupt. [Switching to Thread 0x7ffff7c53700 (LWP 511305)] 0x00007ffff7d563c5 in clone () from /usr/lib/libc.so.6 (gdb) PASS: gdb.threads/hang-after-ext-sigkill.exp: get sigint shell kill -s SIGKILL 511301 (gdb) PASS: gdb.threads/hang-after-ext-sigkill.exp: shell kill -s SIGKILL pid continue Continuing. Couldn't get registers: No such process. (gdb) continue Continuing. Couldn't get registers: No such process. (gdb) FAIL: gdb.threads/hang-after-ext-sigkill.exp: continue testcase /home/simark/src/binutils-gdb/gdb/testsuite/gdb.threads/hang-after-ext-sigkill.exp completed in 1 seconds === gdb Summary === # of expected passes 5 # of unexpected failures 1 Executing on host: /home/simark/build/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/simark/build/binutils-gdb/gdb/testsuite/../data-directory --version (timeout = 300) spawn -ignore SIGHUP /home/simark/build/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/simark/build/binutils-gdb/gdb/testsuite/../data-directory --version warning: Found custom handler for signal 7 (Bus error) preinstalled. warning: Found custom handler for signal 8 (Floating point exception) preinstalled. warning: Found custom handler for signal 11 (Segmentation fault) preinstalled. Some signal dispositions inherited from the environment (SIG_DFL/SIG_IGN) won't be propagated to spawned programs. GNU gdb (GDB) 10.0.50.20200324-git Copyright (C) 2020 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. /home/simark/build/binutils-gdb/gdb/gdb version 11 -nw -nx -data-directory /home/simark/build/binutils-gdb/gdb/testsuite/../data-directory runtest completed at Tue Mar 24 10:46:58 2020