Test run by tcwg-build on Sat Feb 28 16:52:17 2026
Native configuration is armv8l-unknown-linux-gnueabihf

		=== gdb tests ===

Schedule of variations:
    tcwg-local

Running target tcwg-local
Using /home/tcwg-build/workspace/tcwg_gnu_5/abe/config/boards/tcwg-local.exp as board description file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/hosttools/armv8l-unknown-linux-gnueabihf/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/hosttools/armv8l-unknown-linux-gnueabihf/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_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.debuginfod/corefile-mapped-file.exp ...
Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader0.o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader

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

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader...
(gdb) running: readelf -WS /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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            00000170 000170 000024 00   A  0   0  4
Page size is 4096, Offset is 368
running: readelf -WS /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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            000000f4 0000f4 000024 00   A  0   0  4
Page size is 4096, Offset is 244
delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0x522: file /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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/arm-linux-gnueabihf/libthread_db.so.1".

Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_5/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 = 0xf7fcd02c
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get hexadecimal valueof "&library_ptr"
info proc mappings
process 1361379
Mapped address spaces:

Start Addr End Addr   Size       Offset     Perms File 
0x00400000 0x00401000 0x1000     0x0        r-xp  /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader 
0x00401000 0x00402000 0x1000     0x0        r--p  /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader 
0x00402000 0x00403000 0x1000     0x1000     rw-p  /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/library_loader 
0xf7e66000 0xf7e68000 0x2000     0x0        rw-p   
0xf7e68000 0xf7f75000 0x10d000   0x0        r-xp  /usr/lib/arm-linux-gnueabihf/libc.so.6 
0xf7f75000 0xf7f77000 0x2000     0x10c000   r--p  /usr/lib/arm-linux-gnueabihf/libc.so.6 
0xf7f77000 0xf7f78000 0x1000     0x10e000   rw-p  /usr/lib/arm-linux-gnueabihf/libc.so.6 
0xf7f78000 0xf7f82000 0xa000     0x0        rw-p   
0xf7f82000 0xf7fc2000 0x40000    0x0        r-xp  /usr/lib/arm-linux-gnueabihf/libm.so.6 
0xf7fc2000 0xf7fc3000 0x1000     0x40000    r--p  /usr/lib/arm-linux-gnueabihf/libm.so.6 
0xf7fc3000 0xf7fc4000 0x1000     0x41000    rw-p  /usr/lib/arm-linux-gnueabihf/libm.so.6 
0xf7fcb000 0xf7fcc000 0x1000     0x0        r-xp  /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so 
0xf7fcc000 0xf7fcd000 0x1000     0x0        r--p  /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so 
0xf7fcd000 0xf7fce000 0x1000     0x1000     rw-p  /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so 
0xf7fce000 0xf7fd0000 0x2000     0x0        rw-p   
0xf7fd0000 0xf7fd1000 0x1000     0x0        r-xp  [sigpage] 
0xf7fd1000 0xf7fed000 0x1c000    0x0        r-xp  /usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 
0xf7fed000 0xf7fef000 0x2000     0x1b000    r--p  /usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 
0xf7fef000 0xf7ff0000 0x1000     0x1d000    rw-p  /usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 
0xfffcd000 0xffff0000 0x23000    0x0        rw-p  [stack] 
0xffff0000 0xffff1000 0x1000     0x0        r-xp  [vectors] 
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: found pointer offset
print /d sizeof (library_ptr)
$2 = 4
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get integer valueof "sizeof (library_ptr)"
x/1wx 0xf7fcd02c
0xf7fcd02c <library_ptr>:	0x12345678
(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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file0.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file0.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -g  -lm   -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file

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

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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 0x5a2: file /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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/arm-linux-gnueabihf/libthread_db.so.1".

Breakpoint 1, main () at /home/tcwg-build/workspace/tcwg_gnu_5/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 0x400616: file /home/tcwg-build/workspace/tcwg_gnu_5/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_5/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 = 0xf7fcb000
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get hexadecimal valueof "library_base_address"
x/1wx 0xf7fcc02c
0xf7fcc02c:	0x12345678
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: check value of pointer variable
Executing on build: mv /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.1361277/core /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.1361277/core /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.1361277    (timeout = 300)
builtin_spawn -ignore SIGHUP rmdir /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/coredir.1361277

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

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) core-file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
[New LWP 1361434 (id 1)]
Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...
Reading symbols from /usr/lib/debug/.build-id/f5/b510cd91b956148e885994f55a0e476462bf92.debug...
Reading symbols from /lib/ld-linux-armhf.so.3...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/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 = 0xebaec000
(gdb) PASS: gdb.debuginfod/corefile-mapped-file.exp: get library_base_address in core-file
x/1wx 0xebaed02c
0xebaed02c:	0x12345678
(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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so" "/home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so.backup

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

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) core-file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so during file-backed mapping note processing
[New LWP 1361434 (id 1)]
Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...
Reading symbols from /usr/lib/debug/.build-id/f5/b510cd91b956148e885994f55a0e476462bf92.debug...
Reading symbols from /lib/ld-linux-armhf.so.3...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/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/1wx 0xebaed02c
0xebaed02c:	<unavailable>
(gdb) FAIL: gdb.debuginfod/corefile-mapped-file.exp: x/1wx 0xebaed02c
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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/41    (timeout = 300)
builtin_spawn -ignore SIGHUP mkdir -p /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/41
Executing on build: ln -sf /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so.backup /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/41/954cd65c3d1401f23b46efbd3956bdd31c6987    (timeout = 300)
builtin_spawn -ignore SIGHUP ln -sf /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so.backup /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/debugdir/.build-id/41/954cd65c3d1401f23b46efbd3956bdd31c6987

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

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
[New LWP 1361434 (id 1)]
Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...
(No debugging symbols found in /lib/arm-linux-gnueabihf/libc.so.6)
Reading symbols from /lib/ld-linux-armhf.so.3...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/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/1wx 0xebaed02c
0xebaed02c:	0x12345678
(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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file-2.c.o /home/tcwg-build/workspace/tcwg_gnu_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/libfoo.so

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

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex set interactive-mode on
(gdb) set height 0
(gdb) set width 0
(gdb) dir
Reinitialize source path to empty? (y or n) y
Source directories searched: $cdir:$cwd
(gdb) dir /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_5/gdb/gdb/testsuite/gdb.debuginfod:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file...
(gdb) core-file /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.debuginfod/corefile-mapped-file/corefile-mapped-file.core
warning: File /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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 1361434 (id 1)]
Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...
Reading symbols from /usr/lib/debug/.build-id/f5/b510cd91b956148e885994f55a0e476462bf92.debug...
Reading symbols from /lib/ld-linux-armhf.so.3...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/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/1wx 0xebaed02c
0xebaed02c:	<unavailable>
(gdb) FAIL: gdb.debuginfod/corefile-mapped-file.exp: x/1wx 0xebaed02c
DUPLICATE: gdb.debuginfod/corefile-mapped-file.exp: x/1wx 0xebaed02c
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_5/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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/data-directory -iex "set interactive-mode on" --version    (timeout = 300)
builtin_spawn -ignore SIGHUP /home/tcwg-build/workspace/tcwg_gnu_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /home/tcwg-build/workspace/tcwg_gnu_5/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.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_5/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/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_5/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 Sat Feb 28 16:52:19 2026
