Test run by tcwg-build on Sat Feb 28 20:25:33 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_1/abe/config/boards/tcwg-local.exp as board description file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/abe/snapshots/gdb.git~master/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp ...
Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file    (timeout = 300)
builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file
gdb_do_cache: get_compiler_info_1 ( c )
get_compiler_info: gcc-13-3-0
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  -fdiagnostics-color=never -DPOINTER_VALUE=0x12345678 -fpic -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-2.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -DPOINTER_VALUE=0x12345678 -fpic -c -g -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-2.c
gdb_do_cache: get_compiler_info_1 ( c )
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_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o  -fdiagnostics-color=never -DPOINTER_VALUE=0x12345678 -shared -g  -Wl,--build-id -Wl,-soname,libfoo.so -lm   -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o -fdiagnostics-color=never -DPOINTER_VALUE=0x12345678 -shared -g -Wl,--build-id -Wl,-soname,libfoo.so -lm -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so
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  -fdiagnostics-color=never -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-1.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-1.c
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 )
gdb_do_cache: get_compiler_info_1 ( c )
gdb_do_cache: get_compiler_info_1 ( c )
Executing on host: gcc  -Wl,--no-as-needed -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so  -fdiagnostics-color=never -g  -Wl,-rpath,\$ORIGIN -lm   -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -Wl,--no-as-needed -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so -fdiagnostics-color=never -g -Wl,-rpath,$ORIGIN -lm -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/gdb.in.1

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader...
(gdb) running: readelf -WS /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader | grep .note.gnu.build-id
result: 0
output:   [ 2] .note.gnu.build-id NOTE            0000000000000254 000254 000024 00   A  0   0  4
Page size is 4096, Offset is 596
running: readelf -WS /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so | grep .note.gnu.build-id
result: 0
output:   [ 1] .note.gnu.build-id NOTE            00000000000001c8 0001c8 000024 00   A  0   0  4
Page size is 4096, Offset is 456
delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0x7a0: file /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-1.c, line 22.
(gdb) run 
Starting program: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-1.c:22
22	  int res = foo ();
(gdb) gdb_do_cache: is_address_zero_readable (  )
x 0
0x0:	Cannot access memory at address 0x0
(gdb) print /x &library_ptr
$1 = 0xfffff7fb0018
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get hexadecimal valueof "&library_ptr"
info proc mappings
process 2029748
Mapped address spaces:

Start Addr         End Addr           Size               Offset             Perms File 
0x0000aaaaaaaa0000 0x0000aaaaaaaa1000 0x1000             0x0                r-xp  /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader 
0x0000aaaaaaabf000 0x0000aaaaaaac0000 0x1000             0xf000             r--p  /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader 
0x0000aaaaaaac0000 0x0000aaaaaaac1000 0x1000             0x10000            rw-p  /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader 
0x0000fffff7d20000 0x0000fffff7eba000 0x19a000           0x0                r-xp  /usr/lib/aarch64-linux-gnu/libc.so.6 
0x0000fffff7eba000 0x0000fffff7ecd000 0x13000            0x19a000           ---p  /usr/lib/aarch64-linux-gnu/libc.so.6 
0x0000fffff7ecd000 0x0000fffff7ed0000 0x3000             0x19d000           r--p  /usr/lib/aarch64-linux-gnu/libc.so.6 
0x0000fffff7ed0000 0x0000fffff7ed2000 0x2000             0x1a0000           rw-p  /usr/lib/aarch64-linux-gnu/libc.so.6 
0x0000fffff7ed2000 0x0000fffff7ede000 0xc000             0x0                rw-p   
0x0000fffff7ee0000 0x0000fffff7f65000 0x85000            0x0                r-xp  /usr/lib/aarch64-linux-gnu/libm.so.6 
0x0000fffff7f65000 0x0000fffff7f7f000 0x1a000            0x85000            ---p  /usr/lib/aarch64-linux-gnu/libm.so.6 
0x0000fffff7f7f000 0x0000fffff7f80000 0x1000             0x8f000            r--p  /usr/lib/aarch64-linux-gnu/libm.so.6 
0x0000fffff7f80000 0x0000fffff7f81000 0x1000             0x90000            rw-p  /usr/lib/aarch64-linux-gnu/libm.so.6 
0x0000fffff7f90000 0x0000fffff7f91000 0x1000             0x0                r-xp  /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so 
0x0000fffff7f91000 0x0000fffff7faf000 0x1e000            0x1000             ---p  /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so 
0x0000fffff7faf000 0x0000fffff7fb0000 0x1000             0xf000             r--p  /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so 
0x0000fffff7fb0000 0x0000fffff7fb1000 0x1000             0x10000            rw-p  /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so 
0x0000fffff7fbe000 0x0000fffff7fe5000 0x27000            0x0                r-xp  /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 
0x0000fffff7fee000 0x0000fffff7ff0000 0x2000             0x0                rw-p   
0x0000fffff7ff7000 0x0000fffff7ff9000 0x2000             0x0                rw-p   
0x0000fffff7ff9000 0x0000fffff7ffb000 0x2000             0x0                r--p  [vvar] 
0x0000fffff7ffb000 0x0000fffff7ffc000 0x1000             0x0                r-xp  [vdso] 
0x0000fffff7ffc000 0x0000fffff7ffe000 0x2000             0x2e000            r--p  /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 
0x0000fffff7ffe000 0x0000fffff8000000 0x2000             0x30000            rw-p  /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 
0x0000fffffffdd000 0x0001000000000000 0x23000            0x0                rw-p  [stack] 
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: found pointer offset
print /d sizeof (library_ptr)
$2 = 8
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get integer valueof "sizeof (library_ptr)"
x/1gx 0xfffff7fb0018
0xfffff7fb0018 <library_ptr>:	0x0000000012345678
(gdb) 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  -fdiagnostics-color=never -DSHLIB_FILENAME="/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file0.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -DSHLIB_FILENAME="/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file0.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c
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_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file0.o  -fdiagnostics-color=never -DSHLIB_FILENAME="/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -g  -lm   -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file0.o -fdiagnostics-color=never -DSHLIB_FILENAME="/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/gdb.in.2

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0x860: file /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c, line 32.
(gdb) run 
Starting program: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c:32
32	  int fd = open (SHLIB_FILENAME, O_RDONLY);
(gdb) break 41
Breakpoint 2 at 0xaaaaaaaa0910: file /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c, line 41.
(gdb) continue
Continuing.

Breakpoint 2, main () at /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c:41
41	  res = *ptr;	/* Undefined behavior here.  */
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: continue to breakpoint: run to breakpoint
print /x library_base_address
$1 = 0xfffff7dde000
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get hexadecimal valueof "library_base_address"
x/1gx 0xfffff7dee018
0xfffff7dee018:	0x0000000012345678
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: check value of pointer variable
Executing on build: mv /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.2029646/core /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core    (timeout = 300)
builtin_spawn -ignore SIGHUP mv /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.2029646/core /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
Executing on build: rmdir /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.2029646    (timeout = 300)
builtin_spawn -ignore SIGHUP rmdir /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.2029646

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/gdb.in.3

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) core-file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
[New LWP 2029803 (id 1)]
Reading symbols from /lib/aarch64-linux-gnu/libc.so.6...
Reading symbols from /usr/lib/debug/.build-id/d5/ef86dde36cbd3289566cf5098226035d76f2e1.debug...
Reading symbols from /lib/ld-linux-aarch64.so.1...
Reading symbols from /usr/lib/debug/.build-id/f3/d28c5cab7887a8195f6b130d76b8faf126b168.debug...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  main () at /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c:41
41	  res = *ptr;	/* Undefined behavior here.  */
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: load core file
print /x library_base_address
$1 = 0xf8d5c12be000
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get library_base_address in core-file
x/1gx 0xf8d5c12ce018
0xf8d5c12ce018:	0x0000000012345678
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: check value of pointer variable from core-file
Executing on build: mv "/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" "/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so.backup"    (timeout = 300)
builtin_spawn -ignore SIGHUP mv /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so.backup

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/gdb.in.4

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) core-file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
warning: Can't open file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so during file-backed mapping note processing
[New LWP 2029803 (id 1)]
Reading symbols from /lib/aarch64-linux-gnu/libc.so.6...
Reading symbols from /usr/lib/debug/.build-id/d5/ef86dde36cbd3289566cf5098226035d76f2e1.debug...
Reading symbols from /lib/ld-linux-aarch64.so.1...
Reading symbols from /usr/lib/debug/.build-id/f3/d28c5cab7887a8195f6b130d76b8faf126b168.debug...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  main () at /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c:41
41	  res = *ptr;	/* Undefined behavior here.  */
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: load corefile with library file missing
x/1gx 0xf8d5c12ce018
0xf8d5c12ce018:	<unavailable>
(gdb) FAIL: gdb.debuginfod/corefile-mapped-file.exp: x/1gx 0xf8d5c12ce018
FAIL: gdb.debuginfod/corefile-mapped-file.exp: check value of pointer is unavailable with library file missing
Executing on build: mkdir -p /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/cf    (timeout = 300)
builtin_spawn -ignore SIGHUP mkdir -p /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/cf
Executing on build: ln -sf /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so.backup /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/cf/bcf772c0fd545f2f09683e76b44e8b5a46f357    (timeout = 300)
builtin_spawn -ignore SIGHUP ln -sf /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so.backup /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/cf/bcf772c0fd545f2f09683e76b44e8b5a46f357

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/gdb.in.5

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) set debug-file-directory /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: set debug-file-directory
core-file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
[New LWP 2029803 (id 1)]
Reading symbols from /lib/aarch64-linux-gnu/libc.so.6...
(No debugging symbols found in /lib/aarch64-linux-gnu/libc.so.6)
Reading symbols from /lib/ld-linux-aarch64.so.1...
(No debugging symbols found in /lib/ld-linux-aarch64.so.1)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  main () at /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c:41
41	  res = *ptr;	/* Undefined behavior here.  */
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: load corefile, lookup in debug-file-directory
x/1gx 0xf8d5c12ce018
0xf8d5c12ce018:	0x0000000012345678
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: check value of pointer variable from core-file, lookup in debug-file-directory
gdb_do_cache: get_compiler_info_1 ( c )
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  -fdiagnostics-color=never -DPOINTER_VALUE=0x11223344 -fpic -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-2.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -DPOINTER_VALUE=0x11223344 -fpic -c -g -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-2.c
gdb_do_cache: get_compiler_info_1 ( c )
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_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o  -fdiagnostics-color=never -DPOINTER_VALUE=0x11223344 -shared -g  -Wl,--build-id -Wl,-soname,libfoo.so -lm   -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o -fdiagnostics-color=never -DPOINTER_VALUE=0x11223344 -shared -g -Wl,--build-id -Wl,-soname,libfoo.so -lm -o /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/gdb.in.6

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_1/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) core-file /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
warning: File /home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so doesn't match build-id from core-file during file-backed mapping processing
[New LWP 2029803 (id 1)]
Reading symbols from /lib/aarch64-linux-gnu/libc.so.6...
Reading symbols from /usr/lib/debug/.build-id/d5/ef86dde36cbd3289566cf5098226035d76f2e1.debug...
Reading symbols from /lib/ld-linux-aarch64.so.1...
Reading symbols from /usr/lib/debug/.build-id/f3/d28c5cab7887a8195f6b130d76b8faf126b168.debug...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  main () at /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file-3.c:41
41	  res = *ptr;	/* Undefined behavior here.  */
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: load corefile with wrong library in place
x/1gx 0xf8d5c12ce018
0xf8d5c12ce018:	<unavailable>
(gdb) FAIL: gdb.debuginfod/corefile-mapped-file.exp: x/1gx 0xf8d5c12ce018
DUPLICATE: gdb.debuginfod/corefile-mapped-file.exp: x/1gx 0xf8d5c12ce018
FAIL: gdb.debuginfod/corefile-mapped-file.exp: check value of pointer is unavailable with wrong library in place
UNTESTED: gdb.debuginfod/corefile-mapped-file.exp: skippig debuginfod parts of this test
testcase /home/tcwg-build/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp completed in 2 seconds

		=== gdb Summary ===

# of expected passes		14
# of unexpected failures	4
# of untested testcases		1
# of duplicate test names	1
Executing on host: /home/tcwg-build/workspace/tcwg_gnu_1/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_1/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_1/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_1/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.28) 18.0.50.20260228-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_1/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/gdb version  18.0.50.20260228-git -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-build/workspace/tcwg_gnu_1/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 Sat Feb 28 20:25:35 2026
