Test run by tcwg-build on Sun Feb 22 20:32:03 2026
Native configuration is aarch64-unknown-linux-gnu

		=== gdb tests ===

Schedule of variations:
    tcwg-local

Running target tcwg-local
Using /home/tcwg-build/workspace/tcwg_gnu_5/abe/config/boards/tcwg-local.exp as board description file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/hosttools/aarch64-unknown-linux-gnu/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/hosttools/aarch64-unknown-linux-gnu/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.exp ...
Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl    (timeout = 300)
builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl
gdb_do_cache: universal_compile_options_c (  )
Executing on host: gcc    -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/679518/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/679518/ccopts.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/679518/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/679518/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-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c  -fdiagnostics-color=never -g  -lpthreads -lm   -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c -fdiagnostics-color=never -g -lpthreads -lm -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl
/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-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c  -fdiagnostics-color=never -g  -lpthread -lm   -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c -fdiagnostics-color=never -g -lpthread -lm -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl
PASS: gdb.threads/execl.exp: successfully compiled posix threads test case
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-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl1.c  -fdiagnostics-color=never -g  -lm   -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl1    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl1.c -fdiagnostics-color=never -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl1

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/gdb.in.1

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/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_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.threads
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl...
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0x9cc: file /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c, line 48.
(gdb) run 
Starting program: /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Breakpoint 1, main (argc=1, argv=0xffffffffd1b8) at /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c:48
48	  pthread_barrier_init (&threads_started_barrier, NULL, 3);
(gdb) b 59
Breakpoint 2 at 0xaaaaaaaa0a6c: file /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c, line 59.
(gdb) PASS: gdb.threads/execl.exp: set breakpoint at execl
continue
Continuing.
[New Thread 0xfffff7def1a0 (LWP 679615) (id 2)]
[New Thread 0xfffff75df1a0 (LWP 679616) (id 3)]

Thread 1 "execl" hit Breakpoint 2, main (argc=1, argv=0xffffffffd1b8) at /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c:59
59	  if (execl (new_image, new_image, NULL) == -1) /* set breakpoint here */
(gdb) PASS: gdb.threads/execl.exp: continue to exec
info threads
  Id   Target Id                                  Frame 
* 1    Thread 0xfffff7fee020 (LWP 679613) "execl" main (argc=1, argv=0xffffffffd1b8) at /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.c:59
  2    Thread 0xfffff7def1a0 (LWP 679615) "execl" 0x0000fffff7eabed0 in __GI___clock_nanosleep (clock_id=<optimized out>, clock_id@entry=0, flags=flags@entry=0, req=req@entry=0xfffff7dee888, rem=rem@entry=0xfffff7dee888) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  3    Thread 0xfffff75df1a0 (LWP 679616) "execl" 0x0000fffff7eabed0 in __GI___clock_nanosleep (clock_id=<optimized out>, clock_id@entry=0, flags=flags@entry=0, req=req@entry=0xfffff75de888, rem=rem@entry=0xfffff75de888) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
(gdb) PASS: gdb.threads/execl.exp: info threads before exec
delete 2
(gdb) PASS: gdb.threads/execl.exp: delete 2
continue
Continuing.
[Thread 0xfffff75df1a0 (LWP 679616) (id 3) exited]
[Thread 0xfffff7def1a0 (LWP 679615) (id 2) exited]
process 679613 is executing new program: /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.threads/execl/execl1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Thread 1 "execl1" hit Breakpoint 1, main (argc=1, argv=0xffffffffd1b8) at /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl1.c:25
25	  return 0;
(gdb) PASS: gdb.threads/execl.exp: continue across exec
info threads
  Id   Target Id                                   Frame 
* 1    Thread 0xfffff7fee020 (LWP 679613) "execl1" main (argc=1, argv=0xffffffffd1b8) at /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl1.c:25
(gdb) PASS: gdb.threads/execl.exp: info threads after exec
continue
Continuing.
[Inferior 1 (process 679613) exited normally]
(gdb) PASS: gdb.threads/execl.exp: continue until exit
testcase /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/execl.exp completed in 1 seconds

		=== gdb Summary ===

# of expected passes		8
Executing on host: /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/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_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/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_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/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_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on --version
GNU gdb (Linaro_GDB-2026.02.22) 18.0.50.20260222-git
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/gdb version  18.0.50.20260222-git -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/data-directory -iex "set interactive-mode on" 

runtest completed at Sun Feb 22 20:32:05 2026
