diff options
author | Tom de Vries <tdevries@suse.de> | 2020-06-04 17:37:53 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-06-04 17:37:53 +0200 |
commit | 1c07a73f66382eb0c95132aaf9690621fdce1e78 (patch) | |
tree | 1ec2a5a0fb863549c5ce2877aefbae46e77e9ca0 /bfd/coff-ppc.c | |
parent | 7d8b91fda9fed423b91d4d43b19dd068457fe555 (diff) | |
download | gdb-1c07a73f66382eb0c95132aaf9690621fdce1e78.zip gdb-1c07a73f66382eb0c95132aaf9690621fdce1e78.tar.gz gdb-1c07a73f66382eb0c95132aaf9690621fdce1e78.tar.bz2 |
[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.
Diffstat (limited to 'bfd/coff-ppc.c')
0 files changed, 0 insertions, 0 deletions