Test run by tcwg-build on Tue Feb 24 21:18: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_2/abe/config/boards/tcwg-local.exp as board description file for target.
Using /home/tcwg-build/workspace/tcwg_gnu_2/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_2/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_2/abe/snapshots/gdb.git~master/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file.exp ...
Executing on build: rm -rf /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file    (timeout = 300)
builtin_spawn -ignore SIGHUP rm -rf /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file
gdb_do_cache: is_elf_target (  )
gdb_do_cache: universal_compile_options_c (  )
Executing on host: gcc    -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/ccopts.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/ccopts.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/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  -fdiagnostics-color=never -w -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/elf_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/elf_target.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/elf_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/elf_target.c
gdb_do_cache: is_lp64_target (  )
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 -w -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/is_lp64_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/is_lp64_target.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -w -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/is_lp64_target.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/temp/648793/is_lp64_target.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  -fdiagnostics-color=never -fpic -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -fpic -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.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_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o  -fdiagnostics-color=never -shared -g  -Wl,-soname,sym-file-lib.so -lm   -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.c.o -fdiagnostics-color=never -shared -g -Wl,-soname,sym-file-lib.so -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.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  -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_LP64 -DSHLIB_NAME\="sym-file-lib.so" -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_LP64 -DSHLIB_NAME="sym-file-lib.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.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  -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_LP64 -DSHLIB_NAME\="sym-file-lib.so" -c -g  -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-loader.c    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_LP64 -DSHLIB_NAME="sym-file-lib.so" -c -g -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-loader.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_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o  -fdiagnostics-color=never  -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_LP64 -DSHLIB_NAME\="sym-file-lib.so" -g  -lm   -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file    (timeout = 300)
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file0.o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file1.o -fdiagnostics-color=never -I/home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/../../include/ -DTARGET_LP64 -DSHLIB_NAME="sym-file-lib.so" -g -lm -o /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.1

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/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_2/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_2/gdb/gdb/testsuite/gdb.base
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file...
(gdb) 
Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.2

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/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_2/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_2/gdb/gdb/testsuite/gdb.base
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file...
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0xc94: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40.
(gdb) run 
Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file 
[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=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40
40	  const char *file = SHLIB_NAME;
(gdb) break gdb_add_symbol_file
Breakpoint 2 at 0xaaaaaaaa0c64: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24.
(gdb) continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: gdb_add_symbol_file
break bar
Function "bar" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 3 (bar) pending.
(gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: add-symbol-file sym-file-lib.so addr
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 648944.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
	0x00000000000001c8 - 0x00000000000001ec is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000001f0 - 0x0000000000000220 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000220 - 0x0000000000000310 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000310 - 0x0000000000000381 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000388 - 0x0000000000000430 is .rela.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000430 - 0x0000000000000460 is .rela.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000460 - 0x0000000000000478 is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000480 - 0x00000000000004c0 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000fffff7ff64c0 - 0x0000fffff7ff65d8 is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005d8 - 0x00000000000005ec is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005ec - 0x0000000000000630 is .eh_frame_hdr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000630 - 0x00000000000006f0 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe20 - 0x000000000001fe28 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe28 - 0x000000000001fe30 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe30 - 0x000000000001ffc0 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffc0 - 0x000000000001ffe8 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffe8 - 0x0000000000020010 is .got.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020010 - 0x0000000000020018 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020018 - 0x0000000000020020 is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: info files must display sym-file-lib
continue
Continuing.

Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19
19	  return 1; /* gdb break at bar */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: bar
break foo
Breakpoint 4 at 0xfffff7ff65b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25.
(gdb) continue
Continuing.

Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25
25	  return a; /* gdb break at foo */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: foo
break gdb_remove_symbol_file
Breakpoint 5 at 0xaaaaaaaa0c78: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30.
(gdb) continue
Continuing.

Breakpoint 5, gdb_remove_symbol_file (addr=0xfffff7ff64c0 <call_weak_fn>) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30
30	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: gdb_remove_symbol_file
remove-symbol-file -a addr
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: remove-symbol-file
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 648944.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: info files must not display sym-file-lib
info breakpoints 3
Num     Type           Disp Enb Address            What
3       breakpoint     keep y   <PENDING>          bar
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: breakpoint at foo is pending
info breakpoints 4
Num     Type           Disp Enb Address            What
4       breakpoint     keep y   <PENDING>          foo
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: breakpoint at bar is pending
break 78
Breakpoint 6 at 0xaaaaaaaa0d70: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78.
(gdb) continue
Continuing.

Breakpoint 6, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78
78	  lib = load_shlib (file); /* reload lib here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: continue to breakpoint: reload
set breakpoint always-inserted on
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: set breakpoint always-inserted on
continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: continue to breakpoint: gdb_add_symbol_file
add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: add-symbol-file sym-file-lib.so addr
break baz
Breakpoint 7 at 0xfffff7ff65cc: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31.
(gdb) info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   0x0000fffff7ff65cc in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: breakpoint at baz is resolved
remove-symbol-file -a addr
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: remove-symbol-file
info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   <PENDING>          baz
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: breakpoint at baz is pending
break 92
Breakpoint 8 at 0xaaaaaaaa0dec: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92.
(gdb) continue
Continuing.

Breakpoint 8, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92
92	  return 0; /* end here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=addr: stale bkpts: continue to breakpoint: end here

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.3

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/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_2/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_2/gdb/gdb/testsuite/gdb.base
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file...
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0xc94: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40.
(gdb) run 
Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file 
[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=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40
40	  const char *file = SHLIB_NAME;
(gdb) break gdb_add_symbol_file
Breakpoint 2 at 0xaaaaaaaa0c64: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24.
(gdb) continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: gdb_add_symbol_file
break bar
Function "bar" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 3 (bar) pending.
(gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: add-symbol-file sym-file-lib.so addr
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 648980.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
	0x00000000000001c8 - 0x00000000000001ec is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000001f0 - 0x0000000000000220 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000220 - 0x0000000000000310 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000310 - 0x0000000000000381 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000388 - 0x0000000000000430 is .rela.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000430 - 0x0000000000000460 is .rela.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000460 - 0x0000000000000478 is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000480 - 0x00000000000004c0 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000fffff7ff64c0 - 0x0000fffff7ff65d8 is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005d8 - 0x00000000000005ec is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005ec - 0x0000000000000630 is .eh_frame_hdr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000630 - 0x00000000000006f0 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe20 - 0x000000000001fe28 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe28 - 0x000000000001fe30 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe30 - 0x000000000001ffc0 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffc0 - 0x000000000001ffe8 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffe8 - 0x0000000000020010 is .got.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020010 - 0x0000000000020018 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020018 - 0x0000000000020020 is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: info files must display sym-file-lib
continue
Continuing.

Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19
19	  return 1; /* gdb break at bar */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: bar
break foo
Breakpoint 4 at 0xfffff7ff65b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25.
(gdb) continue
Continuing.

Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25
25	  return a; /* gdb break at foo */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: foo
break gdb_remove_symbol_file
Breakpoint 5 at 0xaaaaaaaa0c78: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30.
(gdb) continue
Continuing.

Breakpoint 5, gdb_remove_symbol_file (addr=0xfffff7ff64c0 <call_weak_fn>) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30
30	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: gdb_remove_symbol_file
remove-symbol-file -a bar
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: remove-symbol-file
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 648980.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: info files must not display sym-file-lib
info breakpoints 3
Num     Type           Disp Enb Address            What
3       breakpoint     keep y   <PENDING>          bar
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: breakpoint at foo is pending
info breakpoints 4
Num     Type           Disp Enb Address            What
4       breakpoint     keep y   <PENDING>          foo
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: breakpoint at bar is pending
break 78
Breakpoint 6 at 0xaaaaaaaa0d70: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78.
(gdb) continue
Continuing.

Breakpoint 6, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78
78	  lib = load_shlib (file); /* reload lib here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: continue to breakpoint: reload
set breakpoint always-inserted on
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: set breakpoint always-inserted on
continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: continue to breakpoint: gdb_add_symbol_file
add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: add-symbol-file sym-file-lib.so addr
break baz
Breakpoint 7 at 0xfffff7ff65cc: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31.
(gdb) info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   0x0000fffff7ff65cc in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: breakpoint at baz is resolved
remove-symbol-file -a bar
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: remove-symbol-file
info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   <PENDING>          baz
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: breakpoint at baz is pending
break 92
Breakpoint 8 at 0xaaaaaaaa0dec: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92.
(gdb) continue
Continuing.

Breakpoint 8, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92
92	  return 0; /* end here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar: stale bkpts: continue to breakpoint: end here

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.4

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/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_2/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_2/gdb/gdb/testsuite/gdb.base
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file...
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0xc94: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40.
(gdb) run 
Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file 
[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=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40
40	  const char *file = SHLIB_NAME;
(gdb) break gdb_add_symbol_file
Breakpoint 2 at 0xaaaaaaaa0c64: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24.
(gdb) continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: gdb_add_symbol_file
break bar
Function "bar" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 3 (bar) pending.
(gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: add-symbol-file sym-file-lib.so addr
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 649016.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
	0x00000000000001c8 - 0x00000000000001ec is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000001f0 - 0x0000000000000220 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000220 - 0x0000000000000310 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000310 - 0x0000000000000381 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000388 - 0x0000000000000430 is .rela.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000430 - 0x0000000000000460 is .rela.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000460 - 0x0000000000000478 is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000480 - 0x00000000000004c0 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000fffff7ff64c0 - 0x0000fffff7ff65d8 is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005d8 - 0x00000000000005ec is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005ec - 0x0000000000000630 is .eh_frame_hdr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000630 - 0x00000000000006f0 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe20 - 0x000000000001fe28 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe28 - 0x000000000001fe30 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe30 - 0x000000000001ffc0 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffc0 - 0x000000000001ffe8 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffe8 - 0x0000000000020010 is .got.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020010 - 0x0000000000020018 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020018 - 0x0000000000020020 is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: info files must display sym-file-lib
continue
Continuing.

Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19
19	  return 1; /* gdb break at bar */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: bar
break foo
Breakpoint 4 at 0xfffff7ff65b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25.
(gdb) continue
Continuing.

Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25
25	  return a; /* gdb break at foo */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: foo
break gdb_remove_symbol_file
Breakpoint 5 at 0xaaaaaaaa0c78: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30.
(gdb) continue
Continuing.

Breakpoint 5, gdb_remove_symbol_file (addr=0xfffff7ff64c0 <call_weak_fn>) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30
30	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: gdb_remove_symbol_file
remove-symbol-file -a bar + 0x10
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: remove-symbol-file
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 649016.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: info files must not display sym-file-lib
info breakpoints 3
Num     Type           Disp Enb Address            What
3       breakpoint     keep y   <PENDING>          bar
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: breakpoint at foo is pending
info breakpoints 4
Num     Type           Disp Enb Address            What
4       breakpoint     keep y   <PENDING>          foo
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: breakpoint at bar is pending
break 78
Breakpoint 6 at 0xaaaaaaaa0d70: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78.
(gdb) continue
Continuing.

Breakpoint 6, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78
78	  lib = load_shlib (file); /* reload lib here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: continue to breakpoint: reload
set breakpoint always-inserted on
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: set breakpoint always-inserted on
continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: continue to breakpoint: gdb_add_symbol_file
add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: add-symbol-file sym-file-lib.so addr
break baz
Breakpoint 7 at 0xfffff7ff65cc: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31.
(gdb) info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   0x0000fffff7ff65cc in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: breakpoint at baz is resolved
remove-symbol-file -a bar + 0x10
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: remove-symbol-file
info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   <PENDING>          baz
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: breakpoint at baz is pending
break 92
Breakpoint 8 at 0xaaaaaaaa0dec: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92.
(gdb) continue
Continuing.

Breakpoint 8, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92
92	  return 0; /* end here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=bar + 0x10: stale bkpts: continue to breakpoint: end here

Starting logfile: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/gdb.in.5

builtin_spawn /home/tcwg-build/workspace/tcwg_gnu_2/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_2/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_2/gdb/gdb/testsuite/gdb.base
Source directories searched: /home/tcwg-build/workspace/tcwg_gnu_2/gdb/gdb/testsuite/gdb.base:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file...
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints, watchpoints, tracepoints, or catchpoints.
(gdb) break -qualified main
Breakpoint 1 at 0xc94: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 40.
(gdb) run 
Starting program: /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file 
[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=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:40
40	  const char *file = SHLIB_NAME;
(gdb) break gdb_add_symbol_file
Breakpoint 2 at 0xaaaaaaaa0c64: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 24.
(gdb) continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: gdb_add_symbol_file
break bar
Function "bar" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 3 (bar) pending.
(gdb) add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: add-symbol-file sym-file-lib.so addr
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 649052.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
	0x00000000000001c8 - 0x00000000000001ec is .note.gnu.build-id in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000001f0 - 0x0000000000000220 is .gnu.hash in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000220 - 0x0000000000000310 is .dynsym in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000310 - 0x0000000000000381 is .dynstr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000388 - 0x0000000000000430 is .rela.dyn in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000430 - 0x0000000000000460 is .rela.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000460 - 0x0000000000000478 is .init in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000480 - 0x00000000000004c0 is .plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000fffff7ff64c0 - 0x0000fffff7ff65d8 is .text in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005d8 - 0x00000000000005ec is .fini in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x00000000000005ec - 0x0000000000000630 is .eh_frame_hdr in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000000630 - 0x00000000000006f0 is .eh_frame in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe20 - 0x000000000001fe28 is .init_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe28 - 0x000000000001fe30 is .fini_array in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001fe30 - 0x000000000001ffc0 is .dynamic in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffc0 - 0x000000000001ffe8 is .got in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x000000000001ffe8 - 0x0000000000020010 is .got.plt in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020010 - 0x0000000000020018 is .data in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
	0x0000000000020018 - 0x0000000000020020 is .bss in /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: info files must display sym-file-lib
continue
Continuing.

Breakpoint 3, bar () at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:19
19	  return 1; /* gdb break at bar */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: bar
break foo
Breakpoint 4 at 0xfffff7ff65b8: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 25.
(gdb) continue
Continuing.

Breakpoint 4, foo (a=2) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:25
25	  return a; /* gdb break at foo */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: foo
break gdb_remove_symbol_file
Breakpoint 5 at 0xaaaaaaaa0c78: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 30.
(gdb) continue
Continuing.

Breakpoint 5, gdb_remove_symbol_file (addr=0xfffff7ff64c0 <call_weak_fn>) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:30
30	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: gdb_remove_symbol_file
remove-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: remove-symbol-file
info files
Symbols from "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file".
Native process:
	Using the running image of child process 649052.
	While running this, GDB does not access memory from...
Local exec file:
	`/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file', file type elf64-littleaarch64.
	Entry point: 0xaaaaaaaa0b40
	0x0000aaaaaaaa0238 - 0x0000aaaaaaaa0253 is .interp
	0x0000aaaaaaaa0254 - 0x0000aaaaaaaa0278 is .note.gnu.build-id
	0x0000aaaaaaaa0278 - 0x0000aaaaaaaa0298 is .note.ABI-tag
	0x0000aaaaaaaa0298 - 0x0000aaaaaaaa02b4 is .gnu.hash
	0x0000aaaaaaaa02b8 - 0x0000aaaaaaaa0540 is .dynsym
	0x0000aaaaaaaa0540 - 0x0000aaaaaaaa0647 is .dynstr
	0x0000aaaaaaaa0648 - 0x0000aaaaaaaa067e is .gnu.version
	0x0000aaaaaaaa0680 - 0x0000aaaaaaaa06b0 is .gnu.version_r
	0x0000aaaaaaaa06b0 - 0x0000aaaaaaaa0788 is .rela.dyn
	0x0000aaaaaaaa0788 - 0x0000aaaaaaaa0980 is .rela.plt
	0x0000aaaaaaaa0980 - 0x0000aaaaaaaa0998 is .init
	0x0000aaaaaaaa09a0 - 0x0000aaaaaaaa0b10 is .plt
	0x0000aaaaaaaa0b40 - 0x0000aaaaaaaa1a90 is .text
	0x0000aaaaaaaa1a90 - 0x0000aaaaaaaa1aa4 is .fini
	0x0000aaaaaaaa1aa8 - 0x0000aaaaaaaa1c85 is .rodata
	0x0000aaaaaaaa1c88 - 0x0000aaaaaaaa1d44 is .eh_frame_hdr
	0x0000aaaaaaaa1d48 - 0x0000aaaaaaaa1fdc is .eh_frame
	0x0000aaaaaaabfd08 - 0x0000aaaaaaabfd10 is .init_array
	0x0000aaaaaaabfd10 - 0x0000aaaaaaabfd18 is .fini_array
	0x0000aaaaaaabfd18 - 0x0000aaaaaaabff08 is .dynamic
	0x0000aaaaaaabff08 - 0x0000aaaaaaac0000 is .got
	0x0000aaaaaaac0000 - 0x0000aaaaaaac0010 is .data
	0x0000aaaaaaac0010 - 0x0000aaaaaaac1020 is .bss
	0x0000fffff7fbe1c8 - 0x0000fffff7fbe1ec is .note.gnu.build-id in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe1f0 - 0x0000fffff7fbe34c is .gnu.hash in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe350 - 0x0000fffff7fbe728 is .dynsym in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe728 - 0x0000fffff7fbe9eb is .dynstr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbe9ec - 0x0000fffff7fbea3e is .gnu.version in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbea40 - 0x0000fffff7fbeae4 is .gnu.version_d in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbeae8 - 0x0000fffff7fbed58 is .rela.dyn in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed58 - 0x0000fffff7fbed70 is .rela.plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbed70 - 0x0000fffff7fbeda0 is .plt in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fbedc0 - 0x0000fffff7fdae70 is .text in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fdae70 - 0x0000fffff7fe03f0 is .rodata in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f0 - 0x0000fffff7fe03f1 is .stapsdt.base in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe03f4 - 0x0000fffff7fe0d00 is .eh_frame_hdr in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fe0d00 - 0x0000fffff7fe4730 is .eh_frame in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc988 - 0x0000fffff7ffc990 is .init_array in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffc990 - 0x0000fffff7ffde08 is .data.rel.ro in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffde08 - 0x0000fffff7ffdfa8 is .dynamic in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffdfa8 - 0x0000fffff7ffe000 is .got in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffe000 - 0x0000fffff7fff19c is .data in /lib/ld-linux-aarch64.so.1
	0x0000fffff7fff1a0 - 0x0000fffff7fff348 is .bss in /lib/ld-linux-aarch64.so.1
	0x0000fffff7ffb0e8 - 0x0000fffff7ffb114 is .hash in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb118 - 0x0000fffff7ffb1a8 is .dynsym in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb1a8 - 0x0000fffff7ffb21f is .dynstr in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb220 - 0x0000fffff7ffb22c is .gnu.version in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb230 - 0x0000fffff7ffb268 is .gnu.version_d in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb268 - 0x0000fffff7ffb2bc is .note in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb2c0 - 0x0000fffff7ffb900 is .text in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb900 - 0x0000fffff7ffb930 is .altinstructions in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffb930 - 0x0000fffff7ffba40 is .dynamic in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7ffba40 - 0x0000fffff7ffba60 is .rodata in system-supplied DSO at 0xfffff7ffb000
	0x0000fffff7df0270 - 0x0000fffff7df0294 is .note.gnu.build-id in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df0294 - 0x0000fffff7df02b4 is .note.ABI-tag in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df02b8 - 0x0000fffff7df4a2c is .gnu.hash in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7df4a30 - 0x0000fffff7e06a30 is .dynsym in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e06a30 - 0x0000fffff7e0f0f6 is .dynstr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e0f0f6 - 0x0000fffff7e108f6 is .gnu.version in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e108f8 - 0x0000fffff7e10bf8 is .gnu.version_d in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10bf8 - 0x0000fffff7e10c28 is .gnu.version_r in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e10c28 - 0x0000fffff7e17990 is .rela.dyn in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17990 - 0x0000fffff7e17b88 is .rela.plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17b90 - 0x0000fffff7e17d00 is .plt in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7e17d00 - 0x0000fffff7f343a4 is .text in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f343b0 - 0x0000fffff7f560ec is .rodata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560ec - 0x0000fffff7f560ed is .stapsdt.base in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f560f0 - 0x0000fffff7f5610b is .interp in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5610c - 0x0000fffff7f5ce10 is .eh_frame_hdr in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f5ce10 - 0x0000fffff7f8997c is .eh_frame in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f8997c - 0x0000fffff7f89ec1 is .gcc_except_table in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d100 - 0x0000fffff7f9d110 is .tdata in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d188 is .tbss in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d110 - 0x0000fffff7f9d128 is .init_array in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9d130 - 0x0000fffff7f9faf0 is .data.rel.ro in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9faf0 - 0x0000fffff7f9fcc0 is .dynamic in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7f9fcc0 - 0x0000fffff7fa0000 is .got in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa0000 - 0x0000fffff7fa1628 is .data in /lib/aarch64-linux-gnu/libc.so.6
	0x0000fffff7fa1630 - 0x0000fffff7fadf90 is .bss in /lib/aarch64-linux-gnu/libc.so.6
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: info files must not display sym-file-lib
info breakpoints 3
Num     Type           Disp Enb Address            What
3       breakpoint     keep y   <PENDING>          bar
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: breakpoint at foo is pending
info breakpoints 4
Num     Type           Disp Enb Address            What
4       breakpoint     keep y   <PENDING>          foo
	breakpoint already hit 1 time
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: breakpoint at bar is pending
break 78
Breakpoint 6 at 0xaaaaaaaa0d70: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 78.
(gdb) continue
Continuing.

Breakpoint 6, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:78
78	  lib = load_shlib (file); /* reload lib here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: continue to breakpoint: reload
set breakpoint always-inserted on
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: set breakpoint always-inserted on
continue
Continuing.

Breakpoint 2, gdb_add_symbol_file (addr=0xfffff7ff64c0, file=0xaaaaaaaa1ab0 "sym-file-lib.so") at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:24
24	  return;
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: continue to breakpoint: gdb_add_symbol_file
add-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so addr
add symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so" at
	.text_addr = 0xfffff7ff64c0
(y or n) y
Reading symbols from /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so...
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: add-symbol-file sym-file-lib.so addr
break baz
Breakpoint 7 at 0xfffff7ff65cc: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c, line 31.
(gdb) info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   0x0000fffff7ff65cc in baz at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-lib.c:31
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: breakpoint at baz is resolved
remove-symbol-file /home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so
Remove symbol table from file "/home/tcwg-build/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/sym-file/sym-file-lib.so"? (y or n) y
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: remove-symbol-file
info breakpoints 7
Num     Type           Disp Enb Address            What
7       breakpoint     keep y   <PENDING>          baz
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: breakpoint at baz is pending
break 92
Breakpoint 8 at 0xaaaaaaaa0dec: file /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c, line 92.
(gdb) continue
Continuing.

Breakpoint 8, main (argc=1, argv=0xffffffffd1a8) at /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file-main.c:92
92	  return 0; /* end here */
(gdb) PASS: gdb.base/sym-file.exp: remove_expr=sym-file-lib.so: stale bkpts: continue to breakpoint: end here
testcase /home/tcwg-build/workspace/tcwg_gnu_2/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.base/sym-file.exp completed in 26 seconds

		=== gdb Summary ===

# of expected passes		72
Executing on host: /home/tcwg-build/workspace/tcwg_gnu_2/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_2/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_2/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_2/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.24) 18.0.50.20260224-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_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/gdb-gdb.git~master/gdb/gdb version  18.0.50.20260224-git -nw -nx -q -iex "set height 0" -iex "set width 0" -data-directory /home/tcwg-build/workspace/tcwg_gnu_2/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 Tue Feb 24 21:18:29 2026
