Test run by tcwg-buildslave on Tue May 26 14:32:08 2026 Native configuration is armv8l-unknown-linux-gnueabihf === gdb tests === Schedule of variations: tcwg-local Running target tcwg-local Using /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/config/boards/tcwg-local.exp as board description file for target. Using /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/hosttools/armv8l-unknown-linux-gnueabihf/share/dejagnu/baseboards/unix.exp as board description file for target. Using /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/hosttools/armv8l-unknown-linux-gnueabihf/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.exp ... Executing on build: rm -rf /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock (timeout = 300) builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock gdb_do_cache: universal_compile_options_c ( ) Executing on host: gcc -fdiagnostics-color=never -c -o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/793231/ccopts.o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/793231/ccopts.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/793231/ccopts.o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/temp/793231/ccopts.c gdb_do_cache: get_compiler_info_1 ( c ) get_compiler_info: gcc-13-3-0 gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) Executing on host: gcc -fno-stack-protector /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c -fdiagnostics-color=never -g -lpthreads -lm -o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/schedlock (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c -fdiagnostics-color=never -g -lpthreads -lm -o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/schedlock /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 gdb_do_cache: universal_compile_options_c ( ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) gdb_do_cache: get_compiler_info_1 ( c ) Executing on host: gcc -fno-stack-protector /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c -fdiagnostics-color=never -g -lpthread -lm -o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/schedlock (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c -fdiagnostics-color=never -g -lpthread -lm -o /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/schedlock PASS: gdb.threads/schedlock.exp: successfully compiled posix threads test case Starting logfile: /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/gdb.in.1 builtin_spawn /home/tcwg-buildslave/workspace/tcwg_gnu_1/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-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /home/tcwg-buildslave/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.threads Source directories searched: /home/tcwg-buildslave/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd (gdb) shell stty intr '^C' (gdb) PASS: gdb.threads/schedlock.exp: shell stty intr '^C' kill The program is not being run. (gdb) file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/schedlock Reading symbols from /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/schedlock... (gdb) set print sevenbit-strings (gdb) PASS: gdb.threads/schedlock.exp: set print sevenbit-strings set width 0 (gdb) PASS: gdb.threads/schedlock.exp: set width 0 delete breakpoints (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) break -qualified main Breakpoint 1 at 0x5c6: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 35. (gdb) run Starting program: /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/schedlock/schedlock [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:35 35 alarm (30); (gdb) set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: scheduler locking set to none break 46 Breakpoint 2 at 0x40060c: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 47. (gdb) continue Continuing. [New Thread 0xf7eac420 (LWP 793320) (id 2)] Thread 1 "schedlock" hit Breakpoint 2, main () at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:47 47 args[0] = 1; (gdb) PASS: gdb.threads/schedlock.exp: continue to breakpoint: all threads started print args $1 = {0, 1} (gdb) PASS: gdb.threads/schedlock.exp: listed args, before initial continue ContinuingPASS: gdb.threads/schedlock.exp: continue (initial) . ^C Thread 1 "schedlock" received signal SIGINT, Interrupt. 0x00400674 in thread_function (arg=0x0) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: stop all threads (initial) break 82 if arg != 0 Breakpoint 3 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. [Switching to Thread 0xf7eac420 (LWP 793320)] Thread 2 "schedlock" hit Breakpoint 3, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: continue to breakpoint: return to loop (initial) delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) print args $2 = {320969509, 276983052} (gdb) PASS: gdb.threads/schedlock.exp: listed args, after initial PASS: gdb.threads/schedlock.exp: all threads alive bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: find current thread, before set scheduler-locking on (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: set scheduler-locking on continue ContinuingPASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: continue (with lock) . ^C Thread 2 "schedlock" received signal SIGINT, Interrupt. 0x00400674 in thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: stop all threads (with lock) break 82 if arg != 0 Breakpoint 4 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 4, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: continue to breakpoint: return to loop (with lock) delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: continue does not change thread print args $3 = {320969509, 709251846} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: current thread advanced - locked PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=continue: other threads didn't run - locked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: set scheduler-locking off break 82 if arg != 0 Breakpoint 5 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 5, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: find current thread, before print call_function = 0 $4 = 0 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: print call_function = 0 print args $5 = {320969510, 709251847} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: listed args, before step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 0 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 1 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 2 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 3 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 4 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 5 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 6 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 7 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 8 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step does not change thread print args $6 = {320994621, 709251857} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: current thread advanced - unlocked PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=step: other threads ran - unlocked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: set scheduler-locking off break 82 if arg != 0 Breakpoint 6 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 6, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: find current thread, before print call_function = 0 $7 = 0 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: print call_function = 0 print args $8 = {320994622, 709251858} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: listed args, before next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 0 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 1 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 2 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 3 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 4 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 5 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 6 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 7 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 8 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: next does not change thread print args $9 = {320994646, 709251868} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: current thread advanced - unlocked PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: other threads ran - unlocked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: set scheduler-locking off break 82 if arg != 0 Breakpoint 7 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 7, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: find current thread, before print call_function = 1 $10 = 1 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: print call_function = 1 print args $11 = {320994646, 709251869} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: listed args, before next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 0 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 1 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 2 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 3 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 4 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 5 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 6 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 7 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 8 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: next does not change thread print args $12 = {320994668, 709251879} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: current thread advanced - unlocked PASS: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: other threads ran - unlocked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: set scheduler-locking off break 82 if arg != 0 Breakpoint 8 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 8, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: find current thread, before set scheduler-locking step (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: set scheduler-locking step print call_function = 0 $13 = 0 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: print call_function = 0 print args $14 = {320994669, 709251880} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: listed args, before step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 0 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 1 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 2 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 3 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 4 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 5 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 6 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 7 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 8 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: step does not change thread print args $15 = {320994669, 709251890} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: current thread advanced - locked PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=step: other threads didn't run - locked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: set scheduler-locking off break 82 if arg != 0 Breakpoint 9 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 9, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: find current thread, before set scheduler-locking step (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: set scheduler-locking step print call_function = 0 $16 = 0 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: print call_function = 0 print args $17 = {320994669, 709251891} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: listed args, before next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 0 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 1 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 2 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 3 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 4 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 5 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 6 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 7 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 8 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: next does not change thread print args $18 = {320994669, 709251901} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: current thread advanced - locked PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: other threads didn't run - locked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: set scheduler-locking off break 82 if arg != 0 Breakpoint 10 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 10, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: find current thread, before set scheduler-locking step (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: set scheduler-locking step print call_function = 1 $19 = 1 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: print call_function = 1 print args $20 = {320994670, 709251902} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: listed args, before next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 0 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 1 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 2 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 3 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 4 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 5 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 6 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 7 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 8 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: next does not change thread print args $21 = {320994670, 709251912} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: current thread advanced - locked PASS: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: other threads didn't run - locked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: set scheduler-locking off break 82 if arg != 0 Breakpoint 11 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 11, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: find current thread, before set scheduler-locking on (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: set scheduler-locking on print call_function = 0 $22 = 0 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: print call_function = 0 print args $23 = {320994672, 709251913} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: listed args, before step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 0 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 1 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 2 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 3 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 4 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 5 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 6 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 7 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 8 step 80 while (one) (gdb) step 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: step does not change thread print args $24 = {320994672, 709251923} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: current thread advanced - locked PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=step: other threads didn't run - locked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: set scheduler-locking off break 82 if arg != 0 Breakpoint 12 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 12, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: find current thread, before set scheduler-locking on (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: set scheduler-locking on print call_function = 0 $25 = 0 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: print call_function = 0 print args $26 = {320994672, 709251924} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: listed args, before next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 0 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 1 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 2 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 3 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 4 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 5 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 6 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 7 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 8 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: next does not change thread print args $27 = {320994672, 709251934} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: current thread advanced - locked PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: other threads didn't run - locked set scheduler-locking off (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: set scheduler-locking off break 82 if arg != 0 Breakpoint 13 at 0x400660: file /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c, line 83. (gdb) continue Continuing. Thread 2 "schedlock" hit Breakpoint 13, thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: continue to breakpoint: return to loop delete breakpoints Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y (gdb) info breakpoints No breakpoints, watchpoints, tracepoints, or catchpoints. (gdb) bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: find current thread, before set scheduler-locking on (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: set scheduler-locking on print call_function = 1 $28 = 1 (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: print call_function = 1 print args $29 = {320994673, 709251935} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: listed args, before next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 0 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 1 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 2 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 3 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 4 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 5 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 6 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 7 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 8 next 80 while (one) (gdb) next 83 MAYBE_CALL_SOME_FUNCTION(); (*myp) ++; (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next to increment, 9 bt #0 thread_function (arg=0x1) at /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.c:83 #1 0xf7f0af46 in start_thread (arg=0xa94cca6f) at pthread_create.c:447 #2 0xf7f5ead8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone3.S:71 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: find current thread, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: next does not change thread print args $30 = {320994673, 709251945} (gdb) PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: listed args, after PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: current thread advanced - locked PASS: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: other threads didn't run - locked testcase /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/schedlock.exp completed in 5 seconds === gdb Summary === # of expected passes 208 Executing on host: /home/tcwg-buildslave/workspace/tcwg_gnu_1/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-buildslave/workspace/tcwg_gnu_1/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-buildslave/workspace/tcwg_gnu_1/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-buildslave/workspace/tcwg_gnu_1/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.05.26) 18.0.50.20260526-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-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/gdb version 18.0.50.20260526-git -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-buildslave/workspace/tcwg_gnu_1/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 Tue May 26 14:32:13 2026