Test run by tcwg-build on Fri Jul 10 05:49:57 2026 Native configuration is armv8l-unknown-linux-gnueabihf === gdb tests === Schedule of variations: tcwg-local Running target tcwg-local Using /home/tcwg-build/workspace/tcwg_gnu_2/abe/config/boards/tcwg-local.exp as board description file for target. Using /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/hosttools/armv8l-unknown-linux-gnueabihf/share/dejagnu/baseboards/unix.exp as board description file for target. Using /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/hosttools/armv8l-unknown-linux-gnueabihf/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file.exp ... Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file (timeout = 300) builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file gdb_do_cache: is_elf_target ( ) gdb_do_cache: universal_compile_options_c ( ) Executing on host: gcc -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/ccopts.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/ccopts.c gdb_do_cache: get_compiler_info_1 ( c ) get_compiler_info: gcc-13-3-0 Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/elf_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/elf_target.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/elf_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/elf_target.c gdb_do_cache: is_lp64_target ( ) Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_lp64_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_lp64_target.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_lp64_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_lp64_target.c /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_lp64_target.c:2:13: error: size of array 'dummy' is negative 2 | int dummy[sizeof (int) == 4 | ^~~~~ compiler exited with status 1 output is: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_lp64_target.c:2:13: error: size of array 'dummy' is negative 2 | int dummy[sizeof (int) == 4 | ^~~~~ gdb_do_cache: is_ilp32_target ( ) Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_ilp32_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_ilp32_target.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_ilp32_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/976923/is_ilp32_target.c Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -fpic -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -fpic -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o -fdiagnostics-color=never -shared -g -Wl,-soname,sym-file-lib.so -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o -fdiagnostics-color=never -shared -g -Wl,-soname,sym-file-lib.so -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_ILP32 -DSHLIB_NAME\="sym-file-lib.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_ILP32 -DSHLIB_NAME="sym-file-lib.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_ILP32 -DSHLIB_NAME\="sym-file-lib.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-loader.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_ILP32 -DSHLIB_NAME="sym-file-lib.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-loader.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_ILP32 -DSHLIB_NAME\="sym-file-lib.so" -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_ILP32 -DSHLIB_NAME="sym-file-lib.so" -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.1 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file... (gdb) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.2 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x82c: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40 40 const char *file = SHLIB_NAME; (gdb) break gdb_add_symbol_file Breakpoint 2 at 0x400802: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24. (gdb) continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fca2d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: gdb_add_symbol_file break bar Function "bar" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 3 (bar) pending. (gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fca2d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: add-symbol-file sym-file-lib.so addr info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977080. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 0x000000f4 - 0x00000118 is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000118 - 0x00000144 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000144 - 0x000001e4 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000001e4 - 0x00000255 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000258 - 0x00000290 is .rel.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000290 - 0x000002a0 is .rel.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002a0 - 0x000002ac is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002ac - 0x000002d8 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0xf7fca2d8 - 0xf7fca3dc is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003dc - 0x000003e4 is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003e4 - 0x00000504 is .rodata in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000504 - 0x00000508 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f30 - 0x00001f34 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f34 - 0x00001f38 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f38 - 0x00002000 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002000 - 0x00002024 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002024 - 0x00002028 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002028 - 0x0000202c is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: info files must display sym-file-lib continue Continuing. Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19 19 return 1; /* gdb break at bar */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: bar break foo Breakpoint 4 at 0xf7fca3b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25. (gdb) continue Continuing. Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25 25 return a; /* gdb break at foo */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: foo break gdb_remove_symbol_file Breakpoint 5 at 0x400816: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30. (gdb) continue Continuing. Breakpoint 5, gdb_remove_symbol_file (addr=0xf7fca2d8 ) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30 30 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: gdb_remove_symbol_file remove-symbol-file -a addr Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: remove-symbol-file info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977080. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: info files must not display sym-file-lib info breakpoints 3 Num Type Disp Enb Address What 3 breakpoint keep y bar breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: breakpoint at foo is pending info breakpoints 4 Num Type Disp Enb Address What 4 breakpoint keep y foo breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: breakpoint at bar is pending break 78 Breakpoint 6 at 0x4008c4: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78. (gdb) continue Continuing. Breakpoint 6, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78 78 lib = load_shlib (file); /* reload lib here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: reload set breakpoint always-inserted on (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: set breakpoint always-inserted on continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fc72d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: continue to breakpoint: gdb_add_symbol_file add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fc72d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: add-symbol-file sym-file-lib.so addr break baz Breakpoint 7 at 0xf7fc73ce: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31. (gdb) info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y 0xf7fc73ce in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: breakpoint at baz is resolved remove-symbol-file -a addr Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: remove-symbol-file info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y baz (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: breakpoint at baz is pending break 92 Breakpoint 8 at 0x400916: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92. (gdb) continue Continuing. Breakpoint 8, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92 92 return 0; /* end here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: continue to breakpoint: end here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.3 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x82c: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40 40 const char *file = SHLIB_NAME; (gdb) break gdb_add_symbol_file Breakpoint 2 at 0x400802: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24. (gdb) continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fca2d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: gdb_add_symbol_file break bar Function "bar" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 3 (bar) pending. (gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fca2d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: add-symbol-file sym-file-lib.so addr info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977116. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 0x000000f4 - 0x00000118 is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000118 - 0x00000144 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000144 - 0x000001e4 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000001e4 - 0x00000255 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000258 - 0x00000290 is .rel.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000290 - 0x000002a0 is .rel.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002a0 - 0x000002ac is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002ac - 0x000002d8 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0xf7fca2d8 - 0xf7fca3dc is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003dc - 0x000003e4 is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003e4 - 0x00000504 is .rodata in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000504 - 0x00000508 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f30 - 0x00001f34 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f34 - 0x00001f38 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f38 - 0x00002000 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002000 - 0x00002024 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002024 - 0x00002028 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002028 - 0x0000202c is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: info files must display sym-file-lib continue Continuing. Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19 19 return 1; /* gdb break at bar */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: bar break foo Breakpoint 4 at 0xf7fca3b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25. (gdb) continue Continuing. Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25 25 return a; /* gdb break at foo */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: foo break gdb_remove_symbol_file Breakpoint 5 at 0x400816: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30. (gdb) continue Continuing. Breakpoint 5, gdb_remove_symbol_file (addr=0xf7fca2d8 ) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30 30 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: gdb_remove_symbol_file remove-symbol-file -a bar Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: remove-symbol-file info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977116. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: info files must not display sym-file-lib info breakpoints 3 Num Type Disp Enb Address What 3 breakpoint keep y bar breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: breakpoint at foo is pending info breakpoints 4 Num Type Disp Enb Address What 4 breakpoint keep y foo breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: breakpoint at bar is pending break 78 Breakpoint 6 at 0x4008c4: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78. (gdb) continue Continuing. Breakpoint 6, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78 78 lib = load_shlib (file); /* reload lib here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: reload set breakpoint always-inserted on (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: set breakpoint always-inserted on continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fc72d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: continue to breakpoint: gdb_add_symbol_file add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fc72d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: add-symbol-file sym-file-lib.so addr break baz Breakpoint 7 at 0xf7fc73ce: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31. (gdb) info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y 0xf7fc73ce in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: breakpoint at baz is resolved remove-symbol-file -a bar Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: remove-symbol-file info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y baz (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: breakpoint at baz is pending break 92 Breakpoint 8 at 0x400916: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92. (gdb) continue Continuing. Breakpoint 8, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92 92 return 0; /* end here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: continue to breakpoint: end here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.4 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x82c: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40 40 const char *file = SHLIB_NAME; (gdb) break gdb_add_symbol_file Breakpoint 2 at 0x400802: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24. (gdb) continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fca2d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: gdb_add_symbol_file break bar Function "bar" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 3 (bar) pending. (gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fca2d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: add-symbol-file sym-file-lib.so addr info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977152. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 0x000000f4 - 0x00000118 is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000118 - 0x00000144 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000144 - 0x000001e4 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000001e4 - 0x00000255 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000258 - 0x00000290 is .rel.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000290 - 0x000002a0 is .rel.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002a0 - 0x000002ac is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002ac - 0x000002d8 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0xf7fca2d8 - 0xf7fca3dc is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003dc - 0x000003e4 is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003e4 - 0x00000504 is .rodata in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000504 - 0x00000508 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f30 - 0x00001f34 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f34 - 0x00001f38 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f38 - 0x00002000 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002000 - 0x00002024 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002024 - 0x00002028 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002028 - 0x0000202c is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: info files must display sym-file-lib continue Continuing. Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19 19 return 1; /* gdb break at bar */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: bar break foo Breakpoint 4 at 0xf7fca3b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25. (gdb) continue Continuing. Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25 25 return a; /* gdb break at foo */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: foo break gdb_remove_symbol_file Breakpoint 5 at 0x400816: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30. (gdb) continue Continuing. Breakpoint 5, gdb_remove_symbol_file (addr=0xf7fca2d8 ) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30 30 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: gdb_remove_symbol_file remove-symbol-file -a bar + 0x10 Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: remove-symbol-file info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977152. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: info files must not display sym-file-lib info breakpoints 3 Num Type Disp Enb Address What 3 breakpoint keep y bar breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: breakpoint at foo is pending info breakpoints 4 Num Type Disp Enb Address What 4 breakpoint keep y foo breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: breakpoint at bar is pending break 78 Breakpoint 6 at 0x4008c4: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78. (gdb) continue Continuing. Breakpoint 6, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78 78 lib = load_shlib (file); /* reload lib here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: reload set breakpoint always-inserted on (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: set breakpoint always-inserted on continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fc72d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: continue to breakpoint: gdb_add_symbol_file add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fc72d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: add-symbol-file sym-file-lib.so addr break baz Breakpoint 7 at 0xf7fc73ce: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31. (gdb) info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y 0xf7fc73ce in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: breakpoint at baz is resolved remove-symbol-file -a bar + 0x10 Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: remove-symbol-file info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y baz (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: breakpoint at baz is pending break 92 Breakpoint 8 at 0x400916: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92. (gdb) continue Continuing. Breakpoint 8, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92 92 return 0; /* end here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: continue to breakpoint: end here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.5 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x82c: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40 40 const char *file = SHLIB_NAME; (gdb) break gdb_add_symbol_file Breakpoint 2 at 0x400802: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24. (gdb) continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fca2d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: gdb_add_symbol_file break bar Function "bar" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 3 (bar) pending. (gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fca2d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: add-symbol-file sym-file-lib.so addr info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977188. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 0x000000f4 - 0x00000118 is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000118 - 0x00000144 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000144 - 0x000001e4 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000001e4 - 0x00000255 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000258 - 0x00000290 is .rel.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000290 - 0x000002a0 is .rel.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002a0 - 0x000002ac is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000002ac - 0x000002d8 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0xf7fca2d8 - 0xf7fca3dc is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003dc - 0x000003e4 is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x000003e4 - 0x00000504 is .rodata in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00000504 - 0x00000508 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f30 - 0x00001f34 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f34 - 0x00001f38 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00001f38 - 0x00002000 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002000 - 0x00002024 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002024 - 0x00002028 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so 0x00002028 - 0x0000202c is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: info files must display sym-file-lib continue Continuing. Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19 19 return 1; /* gdb break at bar */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: bar break foo Breakpoint 4 at 0xf7fca3b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25. (gdb) continue Continuing. Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25 25 return a; /* gdb break at foo */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: foo break gdb_remove_symbol_file Breakpoint 5 at 0x400816: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30. (gdb) continue Continuing. Breakpoint 5, gdb_remove_symbol_file (addr=0xf7fca2d8 ) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30 30 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: gdb_remove_symbol_file remove-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: remove-symbol-file info files Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file". Native process: Using the running image of child process 977188. While running this, GDB does not access memory from... Local exec file: `/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf32-littlearm. Entry point: 0x4006fc 0x00400154 - 0x0040016d is .interp 0x00400170 - 0x00400194 is .note.gnu.build-id 0x00400194 - 0x004001b4 is .note.ABI-tag 0x004001b4 - 0x004001cc is .gnu.hash 0x004001cc - 0x0040037c is .dynsym 0x0040037c - 0x00400488 is .dynstr 0x00400488 - 0x004004be is .gnu.version 0x004004c0 - 0x004004f0 is .gnu.version_r 0x004004f0 - 0x00400538 is .rel.dyn 0x00400538 - 0x004005e0 is .rel.plt 0x004005e0 - 0x004005ec is .init 0x004005ec - 0x004006fc is .plt 0x004006fc - 0x0040129c is .text 0x0040129c - 0x004012a4 is .fini 0x004012a4 - 0x00401580 is .rodata 0x00401580 - 0x00401588 is .ARM.exidx 0x00401588 - 0x0040158c is .eh_frame 0x00402e88 - 0x00402e8c is .init_array 0x00402e8c - 0x00402e90 is .fini_array 0x00402e90 - 0x00402f88 is .dynamic 0x00402f88 - 0x00403000 is .got 0x00403000 - 0x00403008 is .data 0x00403008 - 0x00404010 is .bss 0xf7fd1114 - 0xf7fd1138 is .note.gnu.build-id in /lib/ld-linux-armhf.so.3 0xf7fd1138 - 0xf7fd1294 is .gnu.hash in /lib/ld-linux-armhf.so.3 0xf7fd1294 - 0xf7fd1524 is .dynsym in /lib/ld-linux-armhf.so.3 0xf7fd1524 - 0xf7fd17e4 is .dynstr in /lib/ld-linux-armhf.so.3 0xf7fd17e4 - 0xf7fd1836 is .gnu.version in /lib/ld-linux-armhf.so.3 0xf7fd1838 - 0xf7fd18dc is .gnu.version_d in /lib/ld-linux-armhf.so.3 0xf7fd18dc - 0xf7fd197c is .rel.dyn in /lib/ld-linux-armhf.so.3 0xf7fd197c - 0xf7fd1984 is .rel.plt in /lib/ld-linux-armhf.so.3 0xf7fd1984 - 0xf7fd19a4 is .plt in /lib/ld-linux-armhf.so.3 0xf7fd19c0 - 0xf7fe7078 is .text in /lib/ld-linux-armhf.so.3 0xf7fe7078 - 0xf7fec1cc is .rodata in /lib/ld-linux-armhf.so.3 0xf7fec1cc - 0xf7fec1cd is .stapsdt.base in /lib/ld-linux-armhf.so.3 0xf7fec1d0 - 0xf7fec1f4 is .ARM.extab in /lib/ld-linux-armhf.so.3 0xf7fec1f4 - 0xf7fec2ac is .ARM.exidx in /lib/ld-linux-armhf.so.3 0xf7fedeb8 - 0xf7feef08 is .data.rel.ro in /lib/ld-linux-armhf.so.3 0xf7feef08 - 0xf7feefc8 is .dynamic in /lib/ld-linux-armhf.so.3 0xf7feefc8 - 0xf7feeffc is .got in /lib/ld-linux-armhf.so.3 0xf7fef000 - 0xf7fef934 is .data in /lib/ld-linux-armhf.so.3 0xf7fef938 - 0xf7fefa28 is .bss in /lib/ld-linux-armhf.so.3 0xf7ead174 - 0xf7ead198 is .note.gnu.build-id in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead198 - 0xf7ead1b8 is .note.ABI-tag in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ead1b8 - 0xf7eb2354 is .gnu.hash in /lib/arm-linux-gnueabihf/libc.so.6 0xf7eb2354 - 0xf7ebebf4 is .dynsym in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ebebf4 - 0xf7ec7a8c is .dynstr in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec7a8c - 0xf7ec93a0 is .gnu.version in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec93a0 - 0xf7ec9898 is .gnu.version_d in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec9898 - 0xf7ec98c8 is .gnu.version_r in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ec98c8 - 0xf7ecbcf8 is .rel.dyn in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbcf8 - 0xf7ecbd90 is .rel.plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbd90 - 0xf7ecbe98 is .plt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbe98 - 0xf7ecbeb8 is .iplt in /lib/arm-linux-gnueabihf/libc.so.6 0xf7ecbec0 - 0xf7f9a806 is .text in /lib/arm-linux-gnueabihf/libc.so.6 0xf7f9a808 - 0xf7fb710d is .rodata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb710d - 0xf7fb710e is .stapsdt.base in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7110 - 0xf7fb7129 is .interp in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb712c - 0xf7fb7cc2 is .ARM.extab in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb7cc4 - 0xf7fb979c is .ARM.exidx in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fb979c - 0xf7fb97a0 is .eh_frame in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba840 - 0xf7fba848 is .tdata in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba890 is .tbss in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba848 - 0xf7fba850 is .init_array in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fba850 - 0xf7fbbd64 is .data.rel.ro in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbd64 - 0xf7fbbe4c is .dynamic in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbbe4c - 0xf7fbc000 is .got in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbc000 - 0xf7fbcc60 is .data in /lib/arm-linux-gnueabihf/libc.so.6 0xf7fbcc60 - 0xf7fc6224 is .bss in /lib/arm-linux-gnueabihf/libc.so.6 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: info files must not display sym-file-lib info breakpoints 3 Num Type Disp Enb Address What 3 breakpoint keep y bar breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: breakpoint at foo is pending info breakpoints 4 Num Type Disp Enb Address What 4 breakpoint keep y foo breakpoint already hit 1 time (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: breakpoint at bar is pending break 78 Breakpoint 6 at 0x4008c4: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78. (gdb) continue Continuing. Breakpoint 6, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78 78 lib = load_shlib (file); /* reload lib here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: reload set breakpoint always-inserted on (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: set breakpoint always-inserted on continue Continuing. Breakpoint 2, gdb_add_symbol_file (addr=0xf7fc72d8, file=0x401338 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24 24 return; (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: continue to breakpoint: gdb_add_symbol_file add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at .text_addr = 0xf7fc72d8 (y or n) y Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so... (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: add-symbol-file sym-file-lib.so addr break baz Breakpoint 7 at 0xf7fc73ce: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31. (gdb) info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y 0xf7fc73ce in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31 (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: breakpoint at baz is resolved remove-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: remove-symbol-file info breakpoints 7 Num Type Disp Enb Address What 7 breakpoint keep y baz (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: breakpoint at baz is pending break 92 Breakpoint 8 at 0x400916: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92. (gdb) continue Continuing. Breakpoint 8, main (argc=1, argv=0xfffed4e4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92 92 return 0; /* end here */ (gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: continue to breakpoint: end here testcase /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file.exp completed in 25 seconds Running /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.exp ... Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork (timeout = 300) builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork0.o -fdiagnostics-color=never -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork0.o -fdiagnostics-color=never -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit0.o -fdiagnostics-color=never -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit0.o -fdiagnostics-color=never -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog0.o -fdiagnostics-color=never -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog0.o -fdiagnostics-color=never -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.1 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: check vfork support: continue to breakpoint: at VFORK catch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: check vfork support: insert first vfork catchpoint continue Continuing. Catchpoint 3 (vforked process 977273), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: check vfork support: continue to first vfork catchpoint Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.2 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 977310] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.3 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 977347] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.4 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 977384), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 977384] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.5 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 977419) vfork to child process 977421] [New inferior 2 (process 977421)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 977419 after child exec] [Inferior 1 (process 977419) detached] process 977421 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 977421))] Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.6 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 977456) vfork to child process 977458] [New inferior 2 (process 977458)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 977458))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.7 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 977495), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 977493) vfork to child process 977495] [New inferior 2 (process 977495)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 977493 after child exec] [Inferior 1 (process 977493) detached] process 977495 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.8 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 977530) vfork to child process 977532] [New inferior 2 (process 977532)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 977532))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 977530 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 977532 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 977530 after child exec] [Inferior 1 (process 977530) detached] process 977532 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 977532 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.9 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 977569] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.10 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 977606] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.11 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 977643), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 977643] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.12 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 977678) vfork to child process 977680] [New inferior 2 (process 977680)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 977678 after child exit] [Inferior 1 (process 977678) detached] [Inferior 2 (process 977680) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.13 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 977717), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 977715) vfork to child process 977717] [New inferior 2 (process 977717)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 977715 after child exit] [Inferior 1 (process 977715) detached] [Inferior 2 (process 977717) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.14 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 977752) vfork to child process 977754] [New inferior 2 (process 977754)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 977754))] main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 977752 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 977754 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 977752 after child exit] [Inferior 1 (process 977752) detached] [Inferior 2 (process 977754) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.15 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 977791] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.16 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 977828] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.17 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 977865), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 977865] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.18 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 977900) vfork to child process 977902] [New inferior 2 (process 977902)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 977900 after child exec] [Inferior 1 (process 977900) detached] process 977902 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 977902))] Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.19 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 977937) vfork to child process 977939] [New inferior 2 (process 977939)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 977939))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.20 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 977976), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 977974) vfork to child process 977976] [New inferior 2 (process 977976)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 977974 after child exec] [Inferior 1 (process 977974) detached] process 977976 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.21 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 978011) vfork to child process 978013] [New inferior 2 (process 978013)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 978013))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 978011 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 978013 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 978011 after child exec] [Inferior 1 (process 978011) detached] process 978013 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 978013 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.22 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 978050] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.23 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 978087] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.24 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978124), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 978124] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.25 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 978159) vfork to child process 978161] [New inferior 2 (process 978161)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978159 after child exit] [Inferior 1 (process 978159) detached] [Inferior 2 (process 978161) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.26 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978198), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 978196) vfork to child process 978198] [New inferior 2 (process 978198)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978196 after child exit] [Inferior 1 (process 978196) detached] [Inferior 2 (process 978198) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.27 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 978233) vfork to child process 978235] [New inferior 2 (process 978235)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 978235))] main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 978233 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 978235 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 978233 after child exit] [Inferior 1 (process 978233) detached] [Inferior 2 (process 978235) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.28 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 978272] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.29 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 978309] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.30 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978346), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 978346] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.31 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 978381) vfork to child process 978383] [New inferior 2 (process 978383)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978381 after child exec] [Inferior 1 (process 978381) detached] process 978383 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.32 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 978418) vfork to child process 978420] [New inferior 2 (process 978420)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.33 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978457), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 978455) vfork to child process 978457] [New inferior 2 (process 978457)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978455 after child exec] [Inferior 1 (process 978455) detached] process 978457 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.34 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 978492) vfork to child process 978494] [New inferior 2 (process 978494)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 978494] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 978494))] #0 main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 978492 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 978494 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 978492 after child exec] [Inferior 1 (process 978492) detached] process 978494 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 978494 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.35 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 978531] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.36 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 978568] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.37 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978605), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 978605] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.38 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 978640) vfork to child process 978642] [New inferior 2 (process 978642)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978640 after child exit] [Inferior 1 (process 978640) detached] [Inferior 2 (process 978642) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.39 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978679), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 978677) vfork to child process 978679] [New inferior 2 (process 978679)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978677 after child exit] [Inferior 1 (process 978677) detached] [Inferior 2 (process 978679) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.40 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 978714) vfork to child process 978716] [New inferior 2 (process 978716)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 978716] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 978716))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 978714 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 978716 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 978714 after child exit] [Inferior 1 (process 978714) detached] [Inferior 2 (process 978716) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.41 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 978753] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.42 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 978790] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.43 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978827), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 978827] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.44 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 978862) vfork to child process 978864] [New inferior 2 (process 978864)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978862 after child exec] [Inferior 1 (process 978862) detached] process 978864 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.45 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 978899) vfork to child process 978901] [New inferior 2 (process 978901)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.46 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 978938), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 978936) vfork to child process 978938] [New inferior 2 (process 978938)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 978936 after child exec] [Inferior 1 (process 978936) detached] process 978938 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.47 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 978973) vfork to child process 978975] [New inferior 2 (process 978975)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 978975] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 978975))] #0 main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 978973 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 978975 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 978973 after child exec] [Inferior 1 (process 978973) detached] process 978975 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 978975 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.48 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 979012] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.49 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 979049] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.50 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979086), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 979086] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.51 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 979121) vfork to child process 979123] [New inferior 2 (process 979123)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979121 after child exit] [Inferior 1 (process 979121) detached] [Inferior 2 (process 979123) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.52 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979160), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 979158) vfork to child process 979160] [New inferior 2 (process 979160)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979158 after child exit] [Inferior 1 (process 979158) detached] [Inferior 2 (process 979160) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.53 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop auto -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 979195) vfork to child process 979197] [New inferior 2 (process 979197)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 979197] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979197))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 979195 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 979197 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 979195 after child exit] [Inferior 1 (process 979195) detached] [Inferior 2 (process 979197) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=auto: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.54 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 979234] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.55 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 979271] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.56 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979308), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 979308] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.57 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 979343) vfork to child process 979345] [New inferior 2 (process 979345)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979343 after child exec] [Inferior 1 (process 979343) detached] process 979345 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979345))] Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.58 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 979380) vfork to child process 979382] [New inferior 2 (process 979382)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979382))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.59 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979419), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 979417) vfork to child process 979419] [New inferior 2 (process 979419)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979417 after child exec] [Inferior 1 (process 979417) detached] process 979419 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.60 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 979454) vfork to child process 979456] [New inferior 2 (process 979456)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979456))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 979454 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 979456 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 979454 after child exec] [Inferior 1 (process 979454) detached] process 979456 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 979456 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.61 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 979493] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.62 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 979530] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.63 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979567), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 979567] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.64 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 979602) vfork to child process 979604] [New inferior 2 (process 979604)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979602 after child exit] [Inferior 1 (process 979602) detached] [Inferior 2 (process 979604) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.65 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979641), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 979639) vfork to child process 979641] [New inferior 2 (process 979641)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979639 after child exit] [Inferior 1 (process 979639) detached] [Inferior 2 (process 979641) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.66 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 979676) vfork to child process 979678] [New inferior 2 (process 979678)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979678))] main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 979676 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 979678 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 979676 after child exit] [Inferior 1 (process 979676) detached] [Inferior 2 (process 979678) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.67 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 979715] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.68 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 979752] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.69 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979789), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 979789] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.70 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 979824) vfork to child process 979826] [New inferior 2 (process 979826)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979824 after child exec] [Inferior 1 (process 979824) detached] process 979826 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979826))] Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.71 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 979861) vfork to child process 979863] [New inferior 2 (process 979863)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979863))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.72 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 979900), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 979898) vfork to child process 979900] [New inferior 2 (process 979900)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 979898 after child exec] [Inferior 1 (process 979898) detached] process 979900 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.73 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 979935) vfork to child process 979937] [New inferior 2 (process 979937)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 979937))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 979935 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 979937 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 979935 after child exec] [Inferior 1 (process 979935) detached] process 979937 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 979937 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.74 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 979974] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.75 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 980011] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.76 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980048), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 980048] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.77 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 980083) vfork to child process 980085] [New inferior 2 (process 980085)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980083 after child exit] [Inferior 1 (process 980083) detached] [Inferior 2 (process 980085) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.78 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980122), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 980120) vfork to child process 980122] [New inferior 2 (process 980122)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980120 after child exit] [Inferior 1 (process 980120) detached] [Inferior 2 (process 980122) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.79 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 980157) vfork to child process 980159] [New inferior 2 (process 980159)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 980159))] main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 980157 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 980159 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 980157 after child exit] [Inferior 1 (process 980157) detached] [Inferior 2 (process 980159) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.80 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 980196] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.81 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 980233] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.82 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980270), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 980270] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.83 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 980305) vfork to child process 980307] [New inferior 2 (process 980307)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980305 after child exec] [Inferior 1 (process 980305) detached] process 980307 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.84 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 980342) vfork to child process 980344] [New inferior 2 (process 980344)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.85 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980381), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 980379) vfork to child process 980381] [New inferior 2 (process 980381)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980379 after child exec] [Inferior 1 (process 980379) detached] process 980381 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.86 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 980416) vfork to child process 980418] [New inferior 2 (process 980418)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 980418] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 980418))] #0 main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 980416 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 980418 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 980416 after child exec] [Inferior 1 (process 980416) detached] process 980418 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 980418 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.87 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 980455] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.88 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 980492] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.89 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980529), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 980529] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.90 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 980564) vfork to child process 980566] [New inferior 2 (process 980566)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980564 after child exit] [Inferior 1 (process 980564) detached] [Inferior 2 (process 980566) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.91 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980603), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 980601) vfork to child process 980603] [New inferior 2 (process 980603)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980601 after child exit] [Inferior 1 (process 980601) detached] [Inferior 2 (process 980603) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.92 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 980638) vfork to child process 980640] [New inferior 2 (process 980640)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 980640] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 980640))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 980638 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 980640 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 980638 after child exit] [Inferior 1 (process 980638) detached] [Inferior 2 (process 980640) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.93 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 980677] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.94 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 980714] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.95 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980751), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 980751] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.96 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 980786) vfork to child process 980788] [New inferior 2 (process 980788)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980786 after child exec] [Inferior 1 (process 980786) detached] process 980788 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.97 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 980823) vfork to child process 980825] [New inferior 2 (process 980825)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.98 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 980862), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 980860) vfork to child process 980862] [New inferior 2 (process 980862)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 980860 after child exec] [Inferior 1 (process 980860) detached] process 980862 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.99 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 980897) vfork to child process 980899] [New inferior 2 (process 980899)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 980899] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 980899))] #0 main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 980897 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 980899 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 980897 after child exec] [Inferior 1 (process 980897) detached] process 980899 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 980899 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.100 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 980936] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.101 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 980973] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.102 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981010), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 981010] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.103 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 981045) vfork to child process 981047] [New inferior 2 (process 981047)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981045 after child exit] [Inferior 1 (process 981045) detached] [Inferior 2 (process 981047) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.104 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981084), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 981082) vfork to child process 981084] [New inferior 2 (process 981084)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981082 after child exit] [Inferior 1 (process 981082) detached] [Inferior 2 (process 981084) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.105 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop on -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 981119) vfork to child process 981121] [New inferior 2 (process 981121)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 981121] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981121))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 981119 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 981121 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 981119 after child exit] [Inferior 1 (process 981119) detached] [Inferior 2 (process 981121) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=on: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.106 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 981158] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.107 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 981195] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.108 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981232), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 981232] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.109 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 981267) vfork to child process 981269] [New inferior 2 (process 981269)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981267 after child exec] [Inferior 1 (process 981267) detached] process 981269 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981269))] Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.110 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 981304) vfork to child process 981306] [New inferior 2 (process 981306)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981306))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.111 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981343), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 981341) vfork to child process 981343] [New inferior 2 (process 981343)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981341 after child exec] [Inferior 1 (process 981341) detached] process 981343 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.112 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 981378) vfork to child process 981380] [New inferior 2 (process 981380)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981380))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 981378 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 981380 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 981378 after child exec] [Inferior 1 (process 981378) detached] process 981380 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 981380 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.113 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 981417] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.114 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 981454] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.115 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981491), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 981491] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.116 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 981526) vfork to child process 981528] [New inferior 2 (process 981528)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981526 after child exit] [Inferior 1 (process 981526) detached] [Inferior 2 (process 981528) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.117 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981565), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 981563) vfork to child process 981565] [New inferior 2 (process 981565)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981563 after child exit] [Inferior 1 (process 981563) detached] [Inferior 2 (process 981565) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.118 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 981600) vfork to child process 981602] [New inferior 2 (process 981602)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981602))] main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 981600 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 981602 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 981600 after child exit] [Inferior 1 (process 981600) detached] [Inferior 2 (process 981602) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.119 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 981639] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.120 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 981676] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.121 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981713), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 981713] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.122 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 981748) vfork to child process 981750] [New inferior 2 (process 981750)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981748 after child exec] [Inferior 1 (process 981748) detached] process 981750 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981750))] Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.123 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 981785) vfork to child process 981787] [New inferior 2 (process 981787)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981787))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.124 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981824), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 981822) vfork to child process 981824] [New inferior 2 (process 981824)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 981822 after child exec] [Inferior 1 (process 981822) detached] process 981824 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.125 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 981859) vfork to child process 981861] [New inferior 2 (process 981861)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 981861))] main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 981859 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 981861 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 981859 after child exec] [Inferior 1 (process 981859) detached] process 981861 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 981861 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.126 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 981898] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.127 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 981935] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.128 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 981972), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 981972] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.129 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 982007) vfork to child process 982009] [New inferior 2 (process 982009)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982007 after child exit] [Inferior 1 (process 982007) detached] [Inferior 2 (process 982009) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.130 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982046), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 982044) vfork to child process 982046] [New inferior 2 (process 982046)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982044 after child exit] [Inferior 1 (process 982044) detached] [Inferior 2 (process 982046) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.131 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop off -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 982081) vfork to child process 982083] [New inferior 2 (process 982083)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 982083))] main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: next over vfork info inferiors Num Description Connection Executable 1 process 982081 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 982083 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 982081 after child exit] [Inferior 1 (process 982081) detached] [Inferior 2 (process 982083) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=off: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.132 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 982120] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.133 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 982157] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.134 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982194), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 982194] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.135 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 982229) vfork to child process 982231] [New inferior 2 (process 982231)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982229 after child exec] [Inferior 1 (process 982229) detached] process 982231 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.136 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 982266) vfork to child process 982268] [New inferior 2 (process 982268)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.137 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982305), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 982303) vfork to child process 982305] [New inferior 2 (process 982305)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982303 after child exec] [Inferior 1 (process 982303) detached] process 982305 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.138 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 982340) vfork to child process 982342] [New inferior 2 (process 982342)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 982342] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 982342))] #0 main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 982340 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 982342 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 982340 after child exec] [Inferior 1 (process 982340) detached] process 982342 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 982342 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.139 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 982379] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.140 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 982416] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.141 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982453), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 982453] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.142 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 982488) vfork to child process 982490] [New inferior 2 (process 982490)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982488 after child exit] [Inferior 1 (process 982488) detached] [Inferior 2 (process 982490) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.143 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982527), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 982525) vfork to child process 982527] [New inferior 2 (process 982527)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982525 after child exit] [Inferior 1 (process 982525) detached] [Inferior 2 (process 982527) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.144 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple off (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 982562) vfork to child process 982564] [New inferior 2 (process 982564)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 982564] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 982564))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 982562 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 982564 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 982562 after child exit] [Inferior 1 (process 982562) detached] [Inferior 2 (process 982564) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=off: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.145 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 982601] 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.146 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork.c:48 Breakpoint 3 at 0x4006e8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 48. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 982638] Breakpoint 3, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:48 48 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.147 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982675), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 982675] 0x00400642 in main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.148 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 982710) vfork to child process 982712] [New inferior 2 (process 982712)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982710 after child exec] [Inferior 1 (process 982710) detached] process 982712 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_to_main_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.149 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 982747) vfork to child process 982749] [New inferior 2 (process 982749)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_and_exec_child_follow_through_step: next over vfork Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.150 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982786), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 982784) vfork to child process 982786] [New inferior 2 (process 982786)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982784 after child exec] [Inferior 1 (process 982784) detached] process 982786 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: tcatch_vfork_then_child_follow_exec: finish (followed exec) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.151 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x62a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 31. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:31 31 pid = 1 + argc; (gdb) tbreak 32 Temporary breakpoint 2 at 0x40063e: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c, line 32. (gdb) continue Continuing. Temporary breakpoint 2, main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:32 32 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 982821) vfork to child process 982823] [New inferior 2 (process 982823)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 982823] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 982823))] #0 main (argc=1, argv=0xfffed4d4) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.c:33 33 if (pid == 0) { (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 982821 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork parent of inferior 2 * 2 process 982823 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 982821 after child exec] [Inferior 1 (process 982821) detached] process 982823 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "vforked-prog" hit Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/vforked-prog.c:22 22 const char *volatile s = "Hello from vforked-prog"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: continue to bp info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog * 2 process 982823 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/vforked-prog (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exec_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.152 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: set follow-fork parent next [Detaching after vfork from child process 982860] 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_through_step: next Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.153 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: set follow-fork parent break foll-vfork-exit.c:37 Breakpoint 3 at 0x400552: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 37. (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: break, vfork to bp continue Continuing. [Detaching after vfork from child process 982897] Breakpoint 3, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:37 37 const char *volatile s = "I'm the proud parent of child"; (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_parent_follow_to_bp: continue to bp Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.154 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to breakpoint: at VFORK set follow-fork parent (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: set follow-fork parent tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 982934), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Detaching after vfork from child process 982934] 0x0040053e in main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: tcatch_vfork_then_parent_follow: finish Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.155 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: set follow-fork child continue Continuing. [Attaching after Thread 0xf7fcef20 (LWP 982969) vfork to child process 982971] [New inferior 2 (process 982971)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 982969 after child exit] [Inferior 1 (process 982969) detached] [Inferior 2 (process 982971) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_child_follow_to_exit: continue to child exit Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.156 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: set follow-fork child tcatch vfork Catchpoint 3 (vfork) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: tcatch vfork continue Continuing. Temporary catchpoint 3 (vforked process 983008), __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 warning: 44 ../sysdeps/unix/sysv/linux/arm/vfork.S: No such file or directory (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: continue to vfork finish Run till exit from #0 __libc_vfork () at ../sysdeps/unix/sysv/linux/arm/vfork.S:44 [Attaching after Thread 0xf7fcef20 (LWP 983006) vfork to child process 983008] [New inferior 2 (process 983008)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [Detaching vfork parent process 983006 after child exit] [Inferior 1 (process 983006) detached] [Inferior 2 (process 983008) exited normally] (gdb) KFAIL: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: finish (PRMS: gdb/14762) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/gdb.in.157 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex maintenance set target-non-stop off -ex set non-stop on -ex set schedule-multiple on (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/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x536: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 28. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:28 28 pid = 1; (gdb) tbreak 29 Temporary breakpoint 2 at 0x40053a: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c, line 29. (gdb) continue Continuing. Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:29 29 pid = vfork (); /* VFORK */ (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue to breakpoint: at VFORK set follow-fork child (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: set follow-fork child next [Attaching after Thread 0xf7fcef20 (LWP 983043) vfork to child process 983045] [New inferior 2 (process 983045)] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: next over vfork inferior 2 [Switching to inferior 2 [process 983045] (/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 983045))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork-exit.c:30 30 if (pid == 0) (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: inferior 2 info inferiors Num Description Connection Executable 1 process 983043 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork parent of inferior 2 * 2 process 983045 1 (native) /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit is vfork child of inferior 1 (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: info inferiors shows vfork parent/child relation continue Continuing. [Detaching vfork parent process 983043 after child exit] [Inferior 1 (process 983043) detached] [Inferior 2 (process 983045) exited normally] (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: continue until exit at continue until exit info inferiors Num Description Connection Executable 1 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit * 2 /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/foll-vfork/foll-vfork-exit (gdb) PASS: gdb.base/foll-vfork.exp: target-non-stop=off: non-stop=on: schedule-multiple=on: exit_tests: vfork_relations_in_info_inferiors: vfork relation no longer appears in info inferiors testcase /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/foll-vfork.exp completed in 65 seconds === gdb Summary === # of expected passes 735 # of known failures 12 Executing on host: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex "set interactive-mode on" --version (timeout = 300) builtin_spawn -ignore SIGHUP /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on --version GNU gdb (Linaro_GDB-2026.07.10) 18.0.50.20260710-git Copyright (C) 2026 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/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/gdb version 18.0.50.20260710-git -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex "set interactive-mode on" runtest completed at Fri Jul 10 05:51:27 2026