Test run by tcwg-build on Mon Jul 20 08:26:17 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_6/abe/config/boards/tcwg-local.exp as board description file for target. Using /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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_6/abe/snapshots/gdb.git~master/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.exp ... Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread (timeout = 300) builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread gdb_do_cache: universal_compile_options_c ( ) Executing on host: gcc -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/649951/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/649951/ccopts.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/649951/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/649951/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 -DFORK_FUNC=fork -c -g -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork0.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -DFORK_FUNC=fork -c -g -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork0.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork0.o -fdiagnostics-color=never -DFORK_FUNC=fork -g -lpthreads -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork0.o -fdiagnostics-color=never -DFORK_FUNC=fork -g -lpthreads -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork /usr/bin/ld: cannot find -lpthreads: No such file or directory collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lpthreads: No such file or directory collect2: error: ld returned 1 exit status Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork0.o -fdiagnostics-color=never -DFORK_FUNC=fork -g -lpthread -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork0.o -fdiagnostics-color=never -DFORK_FUNC=fork -g -lpthread -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: successfully compiled posix threads test case Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -DFORK_FUNC=vfork -c -g -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork0.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -DFORK_FUNC=vfork -c -g -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork0.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork0.o -fdiagnostics-color=never -DFORK_FUNC=vfork -g -lpthreads -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork0.o -fdiagnostics-color=never -DFORK_FUNC=vfork -g -lpthreads -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork /usr/bin/ld: cannot find -lpthreads: No such file or directory collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lpthreads: No such file or directory collect2: error: ld returned 1 exit status Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork0.o -fdiagnostics-color=never -DFORK_FUNC=vfork -g -lpthread -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork0.o -fdiagnostics-color=never -DFORK_FUNC=vfork -g -lpthread -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: successfully compiled posix threads test case Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.1 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping auto (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: set displaced-stepping auto delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650063) (id 2)] [New Thread 0xf76ab420 (LWP 650064) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650064))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.2 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping on (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: set displaced-stepping on delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650191) (id 2)] [New Thread 0xf76ab420 (LWP 650192) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650192))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.3 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: set displaced-stepping off delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650319) (id 2)] [New Thread 0xf76ab420 (LWP 650320) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650320))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.4 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping auto (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: set displaced-stepping auto delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650447) (id 2)] [New Thread 0xf76ab420 (LWP 650448) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650448))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.5 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping on (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: set displaced-stepping on delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650575) (id 2)] [New Thread 0xf76ab420 (LWP 650576) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650576))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.6 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: set displaced-stepping off delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650703) (id 2)] [New Thread 0xf76ab420 (LWP 650704) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650704))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.7 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping auto (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: set displaced-stepping auto delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650831) (id 2)] [New Thread 0xf76ab420 (LWP 650832) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650832))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=3: next to other line next FAIL: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=3: next to for loop (timeout) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.8 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping on (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: set displaced-stepping on delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650880) (id 2)] [New Thread 0xf76ab420 (LWP 650881) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650881))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=15: next to other line next FAIL: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=15: next to for loop (timeout) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.9 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork... (gdb) set displaced-stepping off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: set displaced-stepping off delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-fork [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=0xfffed444) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 650957) (id 2)] [New Thread 0xf76ab420 (LWP 650958) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 650958))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=6: next to other line next FAIL: gdb.threads/next-fork-exec-other-thread.exp: fork_func=fork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=6: next to for loop (timeout) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.10 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping auto (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: set displaced-stepping auto delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 651012) (id 2)] [New Thread 0xf76ab420 (LWP 651013) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 651013))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=auto: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.11 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping on (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: set displaced-stepping on delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 651171) (id 2)] [New Thread 0xf76ab420 (LWP 651172) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 651172))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=on: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.12 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: set displaced-stepping off delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 651334) (id 2)] [New Thread 0xf76ab420 (LWP 651335) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 651335))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=auto: non-stop=off: displaced-stepping=off: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.13 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping auto (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: set displaced-stepping auto delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 651515) (id 2)] [New Thread 0xf76ab420 (LWP 651516) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 651516))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=auto: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.14 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping on (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: set displaced-stepping on delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 651675) (id 2)] [New Thread 0xf76ab420 (LWP 651676) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 651676))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=on: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.15 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: set displaced-stepping off delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 651834) (id 2)] [New Thread 0xf76ab420 (LWP 651835) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 651835))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=5: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=6: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=6: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=6: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=7: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=7: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=7: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=8: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=8: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=8: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=9: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=9: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=9: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=10: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=10: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=10: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=11: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=11: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=11: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=12: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=12: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=12: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=13: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=13: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=13: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=14: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=14: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=14: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=15: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=15: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=15: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=16: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=16: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=16: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=17: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=17: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=17: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=18: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=18: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=18: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=19: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=19: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=19: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=20: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=20: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=20: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=21: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=21: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=21: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=22: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=22: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=22: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=23: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=23: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=23: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=24: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=24: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=24: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=25: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=25: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=25: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=26: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=26: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=26: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=27: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=27: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=27: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=28: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=28: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=28: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=29: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=29: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=on: non-stop=off: displaced-stepping=off: i=29: next to break here Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.16 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping auto (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: set displaced-stepping auto delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 652011) (id 2)] [New Thread 0xf76ab420 (LWP 652012) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 652012))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=2: next to break here next FAIL: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=auto: i=3: next to other line (timeout) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.17 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping on (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=on: set displaced-stepping on delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=on: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=on: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 652060) (id 2)] [New Thread 0xf76ab420 (LWP 652061) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 652061))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=on: continue next FAIL: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=on: i=0: next to other line (timeout) Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/gdb.in.18 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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 (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_6/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-vfork... (gdb) set displaced-stepping off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: set displaced-stepping off delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x7b4: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 76. (gdb) run Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/next-fork-exec-other-thread/next-fork-exec-other-thread-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=0xfffed434) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:76 76 argv0 = argv[0]; (gdb) set print inferior-events off (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: set print inferior-events off break 63 Breakpoint 2 at 0x400786: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c, line 63. (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: break 63 continue Continuing. [New Thread 0xf7eac420 (LWP 652100) (id 2)] [New Thread 0xf76ab420 (LWP 652101) (id 3)] [Switching to thread 3 (Thread 0xf76ab420 (LWP 652101))] Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: continue next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=0: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=0: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=0: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=1: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=1: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=1: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=2: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=2: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=2: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=3: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=3: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=3: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=4: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=4: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=4: next to break here next 64 usleep (5); /* other line */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=5: next to other line next 61 while (iter++ < MAX_LOOP_ITER) /* for loop */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=5: next to for loop next Thread 3 "next-fork-exec-" hit Breakpoint 2, worker_b (pArg=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c:63 63 usleep (5); /* break here */ (gdb) PASS: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=5: next to break here next FAIL: gdb.threads/next-fork-exec-other-thread.exp: fork_func=vfork: target-non-stop=off: non-stop=off: displaced-stepping=off: i=6: next to other line (timeout) testcase /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.exp completed in 194 seconds Running /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.exp ... Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync (timeout = 300) builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync0.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync0.o /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync /usr/bin/ld: cannot find -lpthreads: No such file or directory collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lpthreads: No such file or directory collect2: error: ld returned 1 exit status Executing on host: gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync PASS: gdb.mi/user-selected-context-sync.exp: successfully compiled posix threads test case Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/gdb.in.1 Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/gdb.in.2 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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) builtin_spawn -pty new-ui mi /dev/pts/2 New UI allocated (gdb) =thread-group-added,id="i1" (gdb) show mi-async &"show mi-async\n" ~"Whether MI is in asynchronous mode is off.\n" ^done (gdb) 104-environment-directory -r 104^done,source-path="$cdir:$cwd" (gdb) 105-environment-directory /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi 105^done,source-path="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi:$cdir:$cwd" (gdb) 105-file-exec-and-symbols /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync 105^done (gdb) Expecting: ^(200-break-insert --qualified -t main[ ]+)?(200\^done,bkpt=\{number=".*",type="breakpoint",disp="del",enabled=".*",addr=".*",func="main(\(.*\))?",file=".*",fullname=".*",line=".*",thread-groups=\[.*\],times=".*".*original-location=".*"\}[ ]+[(]gdb[)] [ ]*) 200-break-insert --qualified -t main 200^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x000005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i1"],times="0",original-location="-qualified main"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: breakpoint at main 220-exec-run =thread-group-started,id="i1",pid="652188" =thread-created,id="1",group-id="i1" =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i1"],times="0",original-location="-qualified main"} =library-loaded,id="/lib/ld-linux-armhf.so.3",target-name="/lib/ld-linux-armhf.so.3",host-name="/lib/ld-linux-armhf.so.3",symbols-loaded="0",thread-group="i1",ranges=[{from="0xf7fd1000",to="0xf7ff0000"}] 220^running *running,thread-id="all" (gdb) mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[.*\],(?:file="[^ ]*.*",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/).*",line="(?:[0-9]+)",arch="[^ ]*"|from=".*")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )*[(]gdb[)] $ =library-loaded,id="/lib/arm-linux-gnueabihf/libc.so.6",target-name="/lib/arm-linux-gnueabihf/libc.so.6",host-name="/lib/arm-linux-gnueabihf/libc.so.6",symbols-loaded="0",thread-group="i1",ranges=[{from="0xf7ead000",to="0xf7fc7000"}] =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i1"],times="1",original-location="-qualified main"} ~"\n" ~"Temporary breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49\n" ~"49\t int i = 0;\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x004005f6",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",arch="armv7"},thread-id="1",stopped-threads="all",core="50" =breakpoint-deleted,id="1" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: mi runto main [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Temporary breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49 49 int i = 0; add-inferior [New inferior 2] Added inferior 2 on connection 1 (native) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: add inferior 2 tbreak user-selected-context-sync.c:66 Temporary breakpoint 2 at 0x400642: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 66. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: set breakpoint in main continue Continuing. [New Thread 0xf7eac420 (LWP 652190) (id 1.2)] [New Thread 0xf76ab420 (LWP 652191) (id 1.3)] Thread 1.1 "user-selected-c" hit Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: continue to breakpoint: main breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =thread-group-added,id="i2" =breakpoint-created,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"],times="0",original-location="user-selected-context-sync.c:66"} *running,thread-id="all" =thread-created,id="2",group-id="i1" *running,thread-id="2" =thread-created,id="3",group-id="i1" *running,thread-id="3" =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"],times="1",original-location="user-selected-context-sync.c:66"} ~"\n" ~"Thread 1.1 \"user-selected-c\" hit Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="2",frame={addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"},thread-id="1",stopped-threads="all",core="50" PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: stop at breakpoint in main show scheduler-locking Mode for locking scheduler during execution is "replay". (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: show scheduler-locking set scheduler-locking on (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: set scheduler-locking on thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: select child thread 1.2 tbreak user-selected-context-sync.c:33 Temporary breakpoint 3 at 0x4005ba: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 33. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: set breakpoint for thread 1.2 continue Continuing. Thread 1.2 "user-selected-c" hit Temporary breakpoint 3, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: continue to breakpoint: continue thread 1.2 to infinite loop breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="2" =cmd-param-changed,param="scheduler-locking",value="on" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005bc",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} =breakpoint-created,bkpt={number="3",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"],times="0",original-location="user-selected-context-sync.c:33"} *running,thread-id="2" =breakpoint-modified,bkpt={number="3",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"],times="1",original-location="user-selected-context-sync.c:33"} ~"\n" ~"Thread 1.2 \"user-selected-c\" hit Temporary breakpoint 3, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="3",frame={addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"},thread-id="2",stopped-threads="all",core="51" PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: thread 1.2 stops MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: select child thread 1.3 tbreak user-selected-context-sync.c:33 Temporary breakpoint 4 at 0x4005ba: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 33. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: set breakpoint for thread 1.3 continue Continuing. Thread 1.3 "user-selected-c" hit Temporary breakpoint 4, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: continue to breakpoint: continue thread 1.3 to infinite loop breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="3" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005bc",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} =breakpoint-created,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"],times="0",original-location="user-selected-context-sync.c:33"} *running,thread-id="3" =breakpoint-modified,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"],times="1",original-location="user-selected-context-sync.c:33"} ~"\n" ~"Thread 1.3 \"user-selected-c\" hit Temporary breakpoint 4, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="4",frame={addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"},thread-id="3",stopped-threads="all",core="52" PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: thread 1.3 stops MI set scheduler-locking replay (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 1: set scheduler-locking replay inferior 2 [Switching to inferior 2 [] ()] (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: switch to inferior 2 kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync... (gdb) mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="4" =cmd-param-changed,param="scheduler-locking",value="replay" ~"[Switching to inferior 2 [] ()]\n" =breakpoint-created,bkpt={number="5",type="breakpoint",disp="del",enabled="y",addr="0x000005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i2"],inferior="2",times="0",original-location="-qualified main"} =thread-group-started,id="i2",pid="652192" =thread-created,id="4",group-id="i2" =breakpoint-modified,bkpt={number="5",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i2"],inferior="2",times="0",original-location="-qualified main"} =library-loaded,id="/lib/ld-linux-armhf.so.3",target-name="/lib/ld-linux-armhf.so.3",host-name="/lib/ld-linux-armhf.so.3",symbols-loaded="0",thread-group="i2",ranges=[{from="0xf7fd1000",to="0xf7ff0000"}] *running,thread-id="4" =library-loaded,id="/lib/arm-linux-gnueabihf/libc.so.6",target-name="/lib/arm-linux-gnueabihf/libc.so.6",host-name="/lib/arm-linux-gnueabihf/libc.so.6",symbols-loaded="0",thread-group="i2",ranges=[{from="0xf7ead000",to="0xf7fc7000"}] =breakpoint-modified,bkpt={number="5",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i2"],inferior="2",times="1",original-location="-qualified main"} ~"\n" ~"Thread 2.1 \"user-selected-c\" hit Temporary breakpoint 5, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49\n" ~"49\t int i = 0;\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="5",frame={addr="0x004005f6",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",arch="armv7"},thread-id="4",stopped-threads="all",core="49" PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: main stop start Temporary breakpoint 5 at 0x5f6: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 49. Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "user-selected-c" hit Temporary breakpoint 5, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49 49 int i = 0; (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: tbreak user-selected-context-sync.c:66 Temporary breakpoint 6 at 0x400642: user-selected-context-sync.c:66. (2 locations) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: set breakpoint in main continue Continuing. [New Thread 0xf7eac420 (LWP 652193) (id 2.2)] [New Thread 0xf76ab420 (LWP 652194) (id 2.3)] Thread 2.1 "user-selected-c" hit Temporary breakpoint 6.2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: continue to breakpoint: main breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",locno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="5" =breakpoint-created,bkpt={number="6",type="breakpoint",disp="del",enabled="y",addr="",times="0",original-location="user-selected-context-sync.c:66",locations=[{number="6.1",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"]},{number="6.2",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i2"]}]} *running,thread-id="4" =thread-created,id="5",group-id="i2" *running,thread-id="5" =thread-created,id="6",group-id="i2" *running,thread-id="6" =breakpoint-modified,bkpt={number="6",type="breakpoint",disp="del",enabled="y",addr="",times="1",original-location="user-selected-context-sync.c:66",locations=[{number="6.1",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"]},{number="6.2",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i2"]}]} ~"\n" ~"Thread 2.1 \"user-selected-c\" hit Temporary breakpoint 6.2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="6",locno="2",frame={addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"},thread-id="4",stopped-threads="all",core="49" PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: stop at breakpoint in main show scheduler-locking Mode for locking scheduler during execution is "replay". (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: show scheduler-locking set scheduler-locking on (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: set scheduler-locking on thread 2.2 [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))] #0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: select child thread 2.2 tbreak user-selected-context-sync.c:33 Temporary breakpoint 7 at 0x4005ba: user-selected-context-sync.c:33. (2 locations) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: set breakpoint for thread 2.2 continue Continuing. Thread 2.2 "user-selected-c" hit Temporary breakpoint 7.2, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: continue to breakpoint: continue thread 2.2 to infinite loop breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",locno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="6" =cmd-param-changed,param="scheduler-locking",value="on" ~"[Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))]\n" ~"#0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="5",frame={level="0",addr="0x004005bc",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} =breakpoint-created,bkpt={number="7",type="breakpoint",disp="del",enabled="y",addr="",times="0",original-location="user-selected-context-sync.c:33",locations=[{number="7.1",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"]},{number="7.2",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i2"]}]} *running,thread-id="5" =breakpoint-modified,bkpt={number="7",type="breakpoint",disp="del",enabled="y",addr="",times="1",original-location="user-selected-context-sync.c:33",locations=[{number="7.1",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"]},{number="7.2",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i2"]}]} ~"\n" ~"Thread 2.2 \"user-selected-c\" hit Temporary breakpoint 7.2, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="7",locno="2",frame={addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"},thread-id="5",stopped-threads="all",core="56" PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: thread 2.2 stops MI thread 2.3 [Switching to thread 2.3 (Thread 0xf76ab420 (LWP 652194))] #0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: select child thread 2.3 tbreak user-selected-context-sync.c:33 Temporary breakpoint 8 at 0x4005ba: user-selected-context-sync.c:33. (2 locations) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: set breakpoint for thread 2.3 continue Continuing. Thread 2.3 "user-selected-c" hit Temporary breakpoint 8.2, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: continue to breakpoint: continue thread 2.3 to infinite loop breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",locno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="7" ~"[Switching to thread 2.3 (Thread 0xf76ab420 (LWP 652194))]\n" ~"#0 0x004005bc in child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="6",frame={level="0",addr="0x004005bc",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} =breakpoint-created,bkpt={number="8",type="breakpoint",disp="del",enabled="y",addr="",times="0",original-location="user-selected-context-sync.c:33",locations=[{number="8.1",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"]},{number="8.2",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i2"]}]} *running,thread-id="6" =breakpoint-modified,bkpt={number="8",type="breakpoint",disp="del",enabled="y",addr="",times="1",original-location="user-selected-context-sync.c:33",locations=[{number="8.1",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"]},{number="8.2",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i2"]}]} ~"\n" ~"Thread 2.3 \"user-selected-c\" hit Temporary breakpoint 8.2, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="8",locno="2",frame={addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"},thread-id="6",stopped-threads="all",core="58" PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: thread 2.3 stops MI set scheduler-locking replay (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_setup: inferior 2: set scheduler-locking replay PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: setup done thread 1.1 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: reset selection to frame 0 print 444 $1 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) =breakpoint-deleted,id="8" =cmd-param-changed,param="scheduler-locking",value="replay" ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: flush MI inferior 2 [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: CLI select inferior ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: event on MI inferior 2 [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: CLI select inferior again ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_inferior: event on MI again thread 1.1 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: reset selection to frame 0 print 444 $2 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: flush MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select thread ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select thread, event on MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select thread again ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select thread, event on MI again frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select frame 1, event on MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select thread again, resetting frame ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: select thread again, resetting frame, event on MI thread [Current thread is 1.2 (Thread 0xf7eac420 (LWP 652190))] (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: thread without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.2: thread without args, event on MI, ensure no output MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select thread ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select thread, event on MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select thread again ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select thread again, event on MI frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="3",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select frame 1, event on MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select thread again, resetting frame ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: select thread again, resetting frame, event on MI thread [Current thread is 1.3 (Thread 0xf76ab420 (LWP 652191))] (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: thread without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 1.3: thread without args, event on MI, ensure no output MI thread 2.2 [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 2.2: select thread ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_thread: thread 2.2: select thread, event on MI thread 1.2 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: reset selection to frame 0 print 444 $3 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: flush MI frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: select frame 1, event on MI frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: select frame 1 again Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: select frame 1 again, event on MI, ensure no output MI frame #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: frame without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.2: frame without args, event on MI, ensure no output MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: reset selection to thread 1.3 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: reset selection to frame 0 print 444 $4 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: flush MI frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="3",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: select frame 1, event on MI frame #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: frame without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_frame: thread 1.3: frame without args, event on MI, ensure no output MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: reset selection to frame 0 print 444 $5 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: flush MI select-frame 1 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: select frame 1, event on MI select-frame 1 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: select frame 1 again Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.2: select frame 1 again, event on MI, ensure no output MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.3: reset selection to thread 1.3 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.3: reset selection to frame 0 print 444 $6 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.3: flush MI select-frame 1 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.3: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="3",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_select_frame: thread 1.3: select frame 1, event on MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: reset selection to frame 0 print 444 $7 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: flush MI up #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: frame up ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: frame up, event on MI down #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: frame down ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_cli_up_down: frame down, event on MI thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: reset selection to frame 0 print 444 $8 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: flush MI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2: -thread-select [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2: -thread-select, event on CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2: -thread-select again print 666 $9 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2: -thread-select again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 3 ^done,new-thread-id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.3: -thread-select [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.3: -thread-select, event on CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 3 ^done,new-thread-id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.3: -thread-select again print 666 $10 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.3: -thread-select again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select --thread 2 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2 with --thread 2: -thread-select [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2 with --thread 2: -thread-select, event on cli thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2 with --thread 3: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2 with --thread 3: reset selection to frame 0 Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} -thread-select --thread 3 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2 with --thread 3: -thread-select [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 1.2 with --thread 3: -thread-select, event on cli Expecting: ^(.*[ ]+)?(\^done,new-thread-id="5",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 5 ^done,new-thread-id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 2.2: -thread-select [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_thread_select: thread 2.2: -thread-select, event on CLI thread 1.2 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: reset selection to frame 0 print 444 $11 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: flush MI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame 1 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame, event on CLI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame 1 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame again print 666 $12 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame --thread 2 --frame 0 0 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame --thread 2 --frame 0 0 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame with --frame 0, event on CLI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame --thread 2 --frame 2 1 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame --thread 2 --frame 2 1 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame with --frame 2, event on CLI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.3: reset selection to thread 1.3 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.3: reset selection to frame 0 print 444 $13 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.3: flush MI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame 1 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.3: -stack-select-frame [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: test_mi_stack_select_frame: thread 1.3: -stack-select-frame, event on CLI thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: reset selection to frame 0 print 444 $14 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: flush MI Expecting: ^(.*[ ]+)?(inferior 2 &"inferior 2\\n" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) inferior 2 &"inferior 2\n" ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior, event on CLI Expecting: ^(.*[ ]+)?(inferior 2 &"inferior 2\\n" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) inferior 2 &"inferior 2\n" ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior again [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior again, event on CLI dummy = !dummy; /* main break line */ thread 1.1 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: reset selection to frame 0 print 444 $15 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: flush MI Expecting: ^(.*[ ]+)?(thread 1\.2 &"thread 1\.2\\n" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.2 &"thread 1.2\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread, event on CLI Expecting: ^(.*[ ]+)?(thread 1\.2 &"thread 1\.2\\n" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.2 &"thread 1.2\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again, event on CLI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(thread 1\.2 &"thread 1\.2\\n" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.2 &"thread 1.2\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame, event on CLI Expecting: ^(.*[ ]+)?(thread.*~"\[Current thread is 1\.2.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) thread &"thread\n" ~"[Current thread is 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: thread without args print 666 $16 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(thread 1\.3 &"thread 1\.3\\n" ~"\[Switching to thread 1\.3[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.3 &"thread 1.3\n" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread, event on CLI Expecting: ^(.*[ ]+)?(thread 1\.3 &"thread 1\.3\\n" ~"\[Switching to thread 1\.3[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.3 &"thread 1.3\n" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread again [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread again, event on CLI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="3",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="3",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(thread 1\.3 &"thread 1\.3\\n" ~"\[Switching to thread 1\.3[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.3 &"thread 1.3\n" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread again, resetting frame [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread again, resetting frame, event on CLI Expecting: ^(.*[ ]+)?(thread.*~"\[Current thread is 1\.3.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) thread &"thread\n" ~"[Current thread is 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: thread without args print 666 $17 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(thread 2\.2 &"thread 2\.2\\n" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="5",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 2.2 &"thread 2.2\n" ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 2.2: select thread [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_thread: thread 2.2: select thread, event on CLI thread 1.2 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: reset selection to frame 0 print 444 $18 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: flush MI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1 again print 666 $19 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1 again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(frame &"frame\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) frame &"frame\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: frame without args print 666 $20 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: frame without args, event on CLI, ensure no output CLI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: reset selection to thread 1.3 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: reset selection to frame 0 print 444 $21 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: flush MI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="3",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="3",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(frame &"frame\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) frame &"frame\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: frame without args print 666 $22 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: frame without args, event on CLI, ensure no output CLI thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: reset selection to frame 0 print 444 $23 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: flush MI Expecting: ^(.*[ ]+)?(-interpreter-exec console "inferior 2" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "inferior 2" ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "inferior 2" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "inferior 2" ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior again [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652192))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior again, event on CLI dummy = !dummy; /* main break line */ thread 1.1 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: reset selection to frame 0 print 444 $24 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652188))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: flush MI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.2" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.2" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.2" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.2" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.2" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.2" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread".*~"\[Current thread is 1\.2.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread" ~"[Current thread is 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: thread without args print 666 $25 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.3" ~"\[Switching to thread 1\.3[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.3" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.3" ~"\[Switching to thread 1\.3[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.3" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread again [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread again, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="3",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="3",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.3" ~"\[Switching to thread 1\.3[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="3",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.3" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread again, resetting frame [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread again, resetting frame, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread".*~"\[Current thread is 1\.3.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread" ~"[Current thread is 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: thread without args print 666 $26 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 2\.2" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="5",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 2.2" ~"[Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 2.2: select thread [Switching to inferior 2 [process 652192] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652193))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 2.2: select thread, event on CLI thread 1.2 [Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: reset selection to frame 0 print 444 $27 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652188] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652190))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: flush MI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1 again print 666 $28 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1 again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: frame without args print 666 $29 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: frame without args, event on CLI, ensure no output CLI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: reset selection to thread 1.3 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: reset selection to frame 0 print 444 $30 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652191))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="3",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: flush MI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="3",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="3",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: frame without args print 666 $31 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=all-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: frame without args, event on CLI, ensure no output CLI Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/gdb.in.3 Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/gdb.in.4 builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_6/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_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on -ex set non-stop 1 (gdb) set height 0 (gdb) set width 0 (gdb) builtin_spawn -pty new-ui mi /dev/pts/2 New UI allocated (gdb) =thread-group-added,id="i1" (gdb) show mi-async &"show mi-async\n" ~"Whether MI is in asynchronous mode is off.\n" ^done (gdb) 104-environment-directory -r 104^done,source-path="$cdir:$cwd" (gdb) 105-environment-directory /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi 105^done,source-path="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi:$cdir:$cwd" (gdb) 105-file-exec-and-symbols /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync 105^done (gdb) Expecting: ^(200-break-insert --qualified -t main[ ]+)?(200\^done,bkpt=\{number=".*",type="breakpoint",disp="del",enabled=".*",addr=".*",func="main(\(.*\))?",file=".*",fullname=".*",line=".*",thread-groups=\[.*\],times=".*".*original-location=".*"\}[ ]+[(]gdb[)] [ ]*) 200-break-insert --qualified -t main 200^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x000005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i1"],times="0",original-location="-qualified main"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: breakpoint at main 220-exec-run =thread-group-started,id="i1",pid="652233" =thread-created,id="1",group-id="i1" =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i1"],times="0",original-location="-qualified main"} =library-loaded,id="/lib/ld-linux-armhf.so.3",target-name="/lib/ld-linux-armhf.so.3",host-name="/lib/ld-linux-armhf.so.3",symbols-loaded="0",thread-group="i1",ranges=[{from="0xf7fd1000",to="0xf7ff0000"}] 220^running *running,thread-id="1" (gdb) mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[.*\],(?:file="[^ ]*.*",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/).*",line="(?:[0-9]+)",arch="[^ ]*"|from=".*")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )*[(]gdb[)] $ =library-loaded,id="/lib/arm-linux-gnueabihf/libc.so.6",target-name="/lib/arm-linux-gnueabihf/libc.so.6",host-name="/lib/arm-linux-gnueabihf/libc.so.6",symbols-loaded="0",thread-group="i1",ranges=[{from="0xf7ead000",to="0xf7fc7000"}] =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i1"],times="1",original-location="-qualified main"} ~"\n" ~"Temporary breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49\n" ~"49\t int i = 0;\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x004005f6",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",arch="armv7"},thread-id="1",stopped-threads=["1"],core="15" =breakpoint-deleted,id="1" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: mi runto main [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Temporary breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49 49 int i = 0; add-inferior [New inferior 2] Added inferior 2 on connection 1 (native) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: add inferior 2 tbreak user-selected-context-sync.c:66 Temporary breakpoint 2 at 0x400642: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 66. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 1: set breakpoint in main continue Continuing. [New Thread 0xf7eac420 (LWP 652235) (id 1.2)] [New Thread 0xf76ab420 (LWP 652236) (id 1.3)] Thread 1.1 "user-selected-c" hit Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 1: continue to breakpoint: main breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =thread-group-added,id="i2" =breakpoint-created,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"],times="0",original-location="user-selected-context-sync.c:66"} *running,thread-id="1" =thread-created,id="2",group-id="i1" *running,thread-id="2" =thread-created,id="3",group-id="i1" *running,thread-id="3" =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"],times="1",original-location="user-selected-context-sync.c:66"} ~"\n" ~"Thread 1.1 \"user-selected-c\" hit Temporary breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="2",frame={addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"},thread-id="1",stopped-threads=["1"],core="15" PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 1: stop at breakpoint in main tbreak user-selected-context-sync.c:33 thread 1.2 Temporary breakpoint 3 at 0x4005ba: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 33. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 1: set thread-specific breakpoint, thread 1.2 Thread 1.2 "user-selected-c" hit Temporary breakpoint 3, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 1: thread 1.2 stops CLI mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="2" =breakpoint-created,bkpt={number="3",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"],thread="2",times="0",original-location="user-selected-context-sync.c:33"} =breakpoint-modified,bkpt={number="3",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i1"],thread="2",times="1",original-location="user-selected-context-sync.c:33"} ~"\n" ~"Thread 1.2 \"user-selected-c\" hit Temporary breakpoint 3, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="3",frame={addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"},thread-id="2",stopped-threads=["2"],core="20" PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 1: thread 1.2 stops MI inferior 2 [Switching to inferior 2 [] ()] (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: switch to inferior 2 kill The program is not being run. (gdb) file /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync... (gdb) mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="3" ~"[Switching to inferior 2 [] ()]\n" =breakpoint-created,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x000005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i2"],inferior="2",times="0",original-location="-qualified main"} =thread-group-started,id="i2",pid="652237" =thread-created,id="4",group-id="i2" =breakpoint-modified,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i2"],inferior="2",times="0",original-location="-qualified main"} =library-loaded,id="/lib/ld-linux-armhf.so.3",target-name="/lib/ld-linux-armhf.so.3",host-name="/lib/ld-linux-armhf.so.3",symbols-loaded="0",thread-group="i2",ranges=[{from="0xf7fd1000",to="0xf7ff0000"}] *running,thread-id="4" =library-loaded,id="/lib/arm-linux-gnueabihf/libc.so.6",target-name="/lib/arm-linux-gnueabihf/libc.so.6",host-name="/lib/arm-linux-gnueabihf/libc.so.6",symbols-loaded="0",thread-group="i2",ranges=[{from="0xf7ead000",to="0xf7fc7000"}] =breakpoint-modified,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x004005f6",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",thread-groups=["i2"],inferior="2",times="1",original-location="-qualified main"} ~"\n" ~"Thread 2.1 \"user-selected-c\" hit Temporary breakpoint 4, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49\n" ~"49\t int i = 0;\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="4",frame={addr="0x004005f6",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="49",arch="armv7"},thread-id="4",stopped-threads=["4"],core="51" PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: main stop start Temporary breakpoint 4 at 0x5f6: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 49. Starting program: /home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Thread 2.1 "user-selected-c" hit Temporary breakpoint 4, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:49 49 int i = 0; (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: tbreak user-selected-context-sync.c:66 Temporary breakpoint 5 at 0x400642: user-selected-context-sync.c:66. (2 locations) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 2: set breakpoint in main continue Continuing. [New Thread 0xf7eac420 (LWP 652238) (id 2.2)] [New Thread 0xf76ab420 (LWP 652239) (id 2.3)] Thread 2.1 "user-selected-c" hit Temporary breakpoint 5.2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 2: continue to breakpoint: main breakpoint mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",locno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="4" =breakpoint-created,bkpt={number="5",type="breakpoint",disp="del",enabled="y",addr="",times="0",original-location="user-selected-context-sync.c:66",locations=[{number="5.1",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"]},{number="5.2",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i2"]}]} *running,thread-id="4" =thread-created,id="5",group-id="i2" *running,thread-id="5" =thread-created,id="6",group-id="i2" *running,thread-id="6" =breakpoint-modified,bkpt={number="5",type="breakpoint",disp="del",enabled="y",addr="",times="1",original-location="user-selected-context-sync.c:66",locations=[{number="5.1",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i1"]},{number="5.2",enabled="y",addr="0x00400642",func="main",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",thread-groups=["i2"]}]} ~"\n" ~"Thread 2.1 \"user-selected-c\" hit Temporary breakpoint 5.2, main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="5",locno="2",frame={addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"},thread-id="4",stopped-threads=["4"],core="51" PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 2: stop at breakpoint in main tbreak user-selected-context-sync.c:33 thread 2.2 Temporary breakpoint 6 at 0x4005ba: file /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c, line 33. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 2: set thread-specific breakpoint, thread 2.2 Thread 2.2 "user-selected-c" hit Temporary breakpoint 6, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 2: thread 2.2 stops CLI mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],(?:file="[^ ]*user-selected-context-sync.c",fullname="(/[^\n]*/|//[^/]+/[^\n]+/|/[^/][^\n]*/|[a-zA-Z]:[^\n]*/)user-selected-context-sync.c",line="(?:[0-9]+)",arch="[^ ]*"|from="user-selected-context-sync.c")},thread-id="(?:[0-9]+)",stopped-threads=[^ ]* (=thread-selected,id="(?:[0-9]+)" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )* =breakpoint-deleted,id="5" =breakpoint-created,bkpt={number="6",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i2"],thread="5",times="0",original-location="user-selected-context-sync.c:33"} =breakpoint-modified,bkpt={number="6",type="breakpoint",disp="del",enabled="y",addr="0x004005ba",func="child_sub_function",file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",thread-groups=["i2"],thread="5",times="1",original-location="user-selected-context-sync.c:33"} ~"\n" ~"Thread 2.2 \"user-selected-c\" hit Temporary breakpoint 6, child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="6",frame={addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"},thread-id="5",stopped-threads=["5"],core="52" PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_setup: inferior 2: thread 2.2 stops MI PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: setup done thread 1.1 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: reset selection to frame 0 print 444 $1 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) =breakpoint-deleted,id="6" ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: flush MI inferior 2 [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: CLI select inferior ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: event on MI inferior 2 [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: CLI select inferior again ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_inferior: event on MI again thread 1.1 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: reset selection to frame 0 print 444 $2 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: flush MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select thread ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select thread, event on MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select thread again ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select thread, event on MI again frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select frame 1, event on MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select thread again, resetting frame ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: select thread again, resetting frame, event on MI thread [Current thread is 1.2 (Thread 0xf7eac420 (LWP 652235))] (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: thread without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.2: thread without args, event on MI, ensure no output MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.3: select thread ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.3: select thread, event on MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.3: select thread again ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.3: select thread again, event on MI thread [Current thread is 1.3 (Thread 0xf76ab420 (LWP 652236))] (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.3: thread without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 1.3: thread without args, event on MI, ensure no output MI thread 2.2 [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652238))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 2.2: select thread ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652238))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: thread 2.2: select thread, event on MI thread 1.2 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: reset selection to frame 0 print 444 $3 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: flush MI frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: select frame 1, event on MI frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: select frame 1 again Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: select frame 1 again, event on MI, ensure no output MI frame #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: frame without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.2: frame without args, event on MI, ensure no output MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: reset selection to thread 1.3 frame 0 Selected thread is running. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: reset selection to frame 0 print 444 $4 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: flush MI frame 1 Selected thread is running. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: select frame 1 Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: select frame 1, event on MI, ensure no output MI frame No stack. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: frame without args Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_frame: thread 1.3: frame without args, event on MI, ensure no output MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: reset selection to frame 0 print 444 $5 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: flush MI select-frame 1 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: select frame 1 ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: select frame 1, event on MI select-frame 1 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: select frame 1 again Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.2: select frame 1 again, event on MI, ensure no output MI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.3: reset selection to thread 1.3 frame 0 Selected thread is running. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.3: reset selection to frame 0 print 444 $6 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.3: flush MI select-frame 1 Selected thread is running. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.3: select frame 1 Expecting: ^(.*[ ]+)?(^777-data-evaluate-expression 888 777\^done,value="888"[ ]+[(]gdb[)] [ ]*) 777-data-evaluate-expression 888 777^done,value="888" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_select_frame: thread 1.3: select frame 1, event on MI, ensure no output MI thread 1.2 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: reset selection to frame 0 print 444 $7 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: flush MI up #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: frame up ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: frame up, event on MI down #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: frame down ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_up_down: frame down, event on MI thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: reset selection to frame 0 print 444 $8 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: flush MI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2: -thread-select [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2: -thread-select, event on CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2: -thread-select again print 666 $9 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2: -thread-select again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="3"[ ]+[(]gdb[)] [ ]*) -thread-select 3 ^done,new-thread-id="3" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.3: -thread-select [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.3: -thread-select, event on CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="3"[ ]+[(]gdb[)] [ ]*) -thread-select 3 ^done,new-thread-id="3" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.3: -thread-select again print 666 $10 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.3: -thread-select again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select --thread 2 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2 with --thread 2: -thread-select [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2 with --thread 2: -thread-select, event on cli thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2 with --thread 3: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2 with --thread 3: reset selection to frame 0 Expecting: ^(.*[ ]+)?(\^done,new-thread-id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} -thread-select --thread 3 2 ^done,new-thread-id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2 with --thread 3: -thread-select [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 1.2 with --thread 3: -thread-select, event on cli Expecting: ^(.*[ ]+)?(\^done,new-thread-id="5",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"}[ ]+[(]gdb[)] [ ]*) -thread-select 5 ^done,new-thread-id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 2.2: -thread-select [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652238))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: thread 2.2: -thread-select, event on CLI thread 1.2 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: reset selection to frame 0 print 444 $11 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: flush MI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame 1 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame, event on CLI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame 1 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame again print 666 $12 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame --thread 2 --frame 0 0 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame --thread 2 --frame 0 0 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame with --frame 0, event on CLI Expecting: ^(.*[ ]+)?(\^done[ ]+[(]gdb[)] [ ]*) -stack-select-frame --thread 2 --frame 2 1 ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame --thread 2 --frame 2 1 [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.2: -stack-select-frame with --frame 2, event on CLI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.3: reset selection to thread 1.3 frame 0 Selected thread is running. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.3: reset selection to frame 0 print 444 $13 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.3: flush MI Expecting: ^(.*[ ]+)?(\^error,msg="Selected thread is running\."[ ]+[(]gdb[)] [ ]*) -stack-select-frame 1 ^error,msg="Selected thread is running." (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.3: -stack-select-frame print 666 $14 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_stack_select_frame: thread 1.3: -stack-select-frame, event on CLI, ensure no output CLI thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: reset selection to frame 0 print 444 $15 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: flush MI Expecting: ^(.*[ ]+)?(inferior 2 &"inferior 2\\n" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) inferior 2 &"inferior 2\n" ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior, event on CLI Expecting: ^(.*[ ]+)?(inferior 2 &"inferior 2\\n" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) inferior 2 &"inferior 2\n" ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior again [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: select inferior again, event on CLI dummy = !dummy; /* main break line */ thread 1.1 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: reset selection to frame 0 print 444 $16 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: flush MI Expecting: ^(.*[ ]+)?(thread 1\.2 &"thread 1\.2\\n" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.2 &"thread 1.2\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread, event on CLI Expecting: ^(.*[ ]+)?(thread 1\.2 &"thread 1\.2\\n" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.2 &"thread 1.2\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again, event on CLI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(thread 1\.2 &"thread 1\.2\\n" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 1.2 &"thread 1.2\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame, event on CLI Expecting: ^(.*[ ]+)?(thread.*~"\[Current thread is 1\.2.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) thread &"thread\n" ~"[Current thread is 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: thread without args print 666 $17 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.2: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(thread 1\.3 &"thread 1\.3\\n" ~"\[Switching to thread 1\.3[^ ]*\]\(running\)\\n" =thread-selected,id="3" \^done[ ]+[(]gdb[)] [ ]*) thread 1.3 &"thread 1.3\n" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread, event on CLI Expecting: ^(.*[ ]+)?(thread 1\.3 &"thread 1\.3\\n" ~"\[Switching to thread 1\.3[^ ]*\]\(running\)\\n" =thread-selected,id="3" \^done[ ]+[(]gdb[)] [ ]*) thread 1.3 &"thread 1.3\n" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread again [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: select thread again, event on CLI Expecting: ^(.*[ ]+)?(thread.*~"\[Current thread is 1\.3.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) thread &"thread\n" ~"[Current thread is 1.3 (Thread 0xf76ab420 (LWP 652236))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: thread without args print 666 $18 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 1.3: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(thread 2\.2 &"thread 2\.2\\n" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="5",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) thread 2.2 &"thread 2.2\n" ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652238))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 2.2: select thread [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652238))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: thread 2.2: select thread, event on CLI thread 1.2 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: reset selection to frame 0 print 444 $19 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: flush MI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(frame 1 &"frame 1\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1 again print 666 $20 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: select frame 1 again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(frame &"frame\\n" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) frame &"frame\n" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: frame without args print 666 $21 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.2: frame without args, event on CLI, ensure no output CLI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: reset selection to thread 1.3 frame 0 Selected thread is running. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: reset selection to frame 0 print 444 $22 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: flush MI Expecting: ^(.*[ ]+)?(\^error,msg="Selected thread is running\.".*[ ]+[(]gdb[)] [ ]*) frame 1 &"frame 1\n" &"Selected thread is running.\n" ^error,msg="Selected thread is running." (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: select frame 1 print 666 $23 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: select frame 1, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^error,msg="No stack\."[ ]+[(]gdb[)] [ ]*) frame &"frame\n" &"No stack.\n" ^error,msg="No stack." (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: frame without args print 666 $24 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_frame: thread 1.3: frame without args, event on CLI, ensure no output CLI thread 1.1 [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: reset selection to frame 0 print 444 $25 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: flush MI Expecting: ^(.*[ ]+)?(-interpreter-exec console "inferior 2" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "inferior 2" ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "inferior 2" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.1[^ ]*\]\\n" ~"#0[^ ]*main[^ ]*\\n" ~"66[^ ]*" =thread-selected,id="4",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="main",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="66",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "inferior 2" ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="4",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior again [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.1 (Thread 0xf7fcef20 (LWP 652237))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: select inferior again, event on CLI dummy = !dummy; /* main break line */ thread 1.1 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))] #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: reset selection to thread 1.1 frame 0 #0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66 66 dummy = !dummy; /* main break line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: reset selection to frame 0 print 444 $26 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.1 (Thread 0xf7fcef20 (LWP 652233))]\n" ~"#0 main () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:66\n" ~"66\t dummy = !dummy; /* main break line */\n" =thread-selected,id="1",frame={level="0",addr="0x00400642",func="main",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="66",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: flush MI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.2" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.2" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.2" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.2" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.2" ~"\[Switching to thread 1\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="2",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.2" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: select thread again, resetting frame, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread".*~"\[Current thread is 1\.2.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread" ~"[Current thread is 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: thread without args print 666 $27 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.2: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.3" ~"\[Switching to thread 1\.3[^ ]*\]\(running\)\\n" =thread-selected,id="3" \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.3" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 1\.3" ~"\[Switching to thread 1\.3[^ ]*\]\(running\)\\n" =thread-selected,id="3" \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 1.3" ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread again [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: select thread again, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread".*~"\[Current thread is 1\.3.*\]\\n".*\^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread" ~"[Current thread is 1.3 (Thread 0xf76ab420 (LWP 652236))]\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: thread without args print 666 $28 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 1.3: thread without args, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "thread 2\.2" ~"\[Switching to inferior 2[^ ]*\]\\n" ~"\[Switching to thread 2\.2[^ ]*\]\\n" ~"#0[^ ]*child_sub_function[^ ]*user-selected-context-sync.c:33\\n" ~"33[^ ]*thread loop line \*/\\n" =thread-selected,id="5",frame={level="0",addr="(?:0x[0-9A-Fa-f]+)",func="child_sub_function",args=\[\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="33",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "thread 2.2" ~"[Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652238))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="5",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 2.2: select thread [Switching to inferior 2 [process 652237] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 2.2 (Thread 0xf7eac420 (LWP 652238))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: thread 2.2: select thread, event on CLI thread 1.2 [Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)] [Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))] #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: reset selection to thread 1.2 frame 0 #0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33 33 dummy = !dummy; /* thread loop line */ (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: reset selection to frame 0 print 444 $29 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to inferior 1 [process 652233] (/home/tcwg-build/workspace/tcwg_gnu_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.mi/user-selected-context-sync/user-selected-context-sync)]\n" ~"[Switching to thread 1.2 (Thread 0xf7eac420 (LWP 652235))]\n" ~"#0 child_sub_function () at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:33\n" ~"33\t dummy = !dummy; /* thread loop line */\n" =thread-selected,id="2",frame={level="0",addr="0x004005ba",func="child_sub_function",args=[],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="33",arch="armv7"} 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: flush MI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" =thread-selected,id="2",frame={level="1",addr="(?:0x[0-9A-Fa-f]+)",func="child_function",args=\[{name="args",value="0x0"}\],file="[^ ]*user-selected-context-sync.c",fullname="[^ ]*user-selected-context-sync.c",line="41",arch="[^ ]*"} \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" =thread-selected,id="2",frame={level="1",addr="0x004005e0",func="child_function",args=[{name="args",value="0x0"}],file="/home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c",fullname="/home/tcwg-build/workspace/tcwg_gnu_6/gdb/gdb/testsuite/gdb.mi/user-selected-context-sync.c",line="41",arch="armv7"} ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1 #1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41 41 child_sub_function (); /* thread caller line */ PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1, event on CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame 1" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1 again print 666 $30 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: select frame 1 again, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(-interpreter-exec console "frame" ~"#1[^ ]*child_function \(args=0x0\) at [^ ]*user-selected-context-sync.c:41\\n" ~"41[^ ]*thread caller line \*/\\n" \^done[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame" ~"#1 0x004005e0 in child_function (args=0x0) at /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.c:41\n" ~"41\t child_sub_function (); /* thread caller line */\n" ^done (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: frame without args print 666 $31 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.2: frame without args, event on CLI, ensure no output CLI thread 1.3 [Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running) (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: reset selection to thread 1.3 frame 0 Selected thread is running. (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: reset selection to frame 0 print 444 $32 = 444 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: flush CLI Expecting: ^(.*[ ]+)?(.*done,value="666"[ ]+[(]gdb[)] [ ]*) ~"[Switching to thread 1.3 (Thread 0xf76ab420 (LWP 652236))](running)\n" =thread-selected,id="3" 555-data-evaluate-expression 666 555^done,value="666" (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: flush MI Expecting: ^(.*[ ]+)?(\^error,msg="Selected thread is running\.".*[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame 1" &"Selected thread is running.\n" ^error,msg="Selected thread is running." (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: select frame 1 print 666 $33 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: select frame 1, event on CLI, ensure no output CLI Expecting: ^(.*[ ]+)?(\^error,msg="No stack\."[ ]+[(]gdb[)] [ ]*) -interpreter-exec console "frame" &"No stack.\n" ^error,msg="No stack." (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: frame without args print 666 $34 = 666 (gdb) PASS: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_frame: thread 1.3: frame without args, event on CLI, ensure no output CLI testcase /home/tcwg-build/workspace/tcwg_gnu_6/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.mi/user-selected-context-sync.exp completed in 19 seconds === gdb Summary === # of expected passes 1731 # of unexpected failures 6 Executing on host: /home/tcwg-build/workspace/tcwg_gnu_6/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_6/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_6/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_6/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.20) 18.0.50.20260720-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_6/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/gdb version 18.0.50.20260720-git -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-build/workspace/tcwg_gnu_6/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 Mon Jul 20 08:29:50 2026