8sa1-binutils-gdb/gdb/testsuite/lib
Tom de Vries 1c07a73f66 [gdb/testsuite] Remove path names from error messages in gdb_file_cmd
In gdb_file_cmd, perror is called with error message strings using $arg and
$GDB, both of which contain path names, which makes comparison of gdb.sum
files more difficult.

Fix this by using:
- [file tail $arg] instead of $arg
- GDB instead of $GDB.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-06-04  Tom de Vries  <tdevries@suse.de>

	* lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2020-06-04 17:37:53 +02:00
..
ada.exp
append_gdb_boards_dir.exp
build-piece.exp
cache.exp
check-test-names.exp gdb/testsuite: Revert commit 843f4d9357 2020-05-15 11:48:57 +01:00
cl_util.c
cl_util.h
compile-support.exp
compiler.c
compiler.cc
completion-support.exp
cp-support.exp
d-support.exp
data-structures.exp
dtrace.exp
dwarf.exp
fortran.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
future.exp
gdb-guile.exp
gdb-python.exp
gdb-utils.exp Revert "Add completion styling" 2020-05-24 20:27:48 -06:00
gdb.exp [gdb/testsuite] Remove path names from error messages in gdb_file_cmd 2020-06-04 17:37:53 +02:00
gdbserver-support.exp
gen-perf-test.exp
gnat_debug_info_test.adb
go.exp
jit-elf-helpers.exp [gdb/testsuite] Fix var use in compile_and_download_n_jit_so 2020-05-25 12:28:54 +02:00
memory.exp
mi-support.exp
objc.exp
opencl_hostapp.c
opencl_kernel.cl
opencl.exp
pascal.exp
pdtrace.in
perftest.exp
prelink-support.exp
prompt.exp
range-stepping-support.exp
read1.c
rust-support.exp
selftest-support.exp
set_unbuffered_mode.c
sym-info-cmds.exp
trace-support.exp
tuiterm.exp
unbuffer_output.c [gdb/testsuite] Fix gdb_unbuffer_output return-type 2020-05-06 09:41:26 +02:00
valgrind.exp