diff options
author | Tom de Vries <tdevries@suse.de> | 2021-10-11 12:21:00 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-10-11 12:21:00 +0200 |
commit | 47265957ad9b1de1d6434baa0569d286d75eaf48 (patch) | |
tree | 83264dd8112bd6d7c87c880fbff6b7eec0a8d331 /gdb/features | |
parent | 4f69f0a21ef0a22e5e7d82ba271d6a7330469fb1 (diff) | |
download | binutils-47265957ad9b1de1d6434baa0569d286d75eaf48.zip binutils-47265957ad9b1de1d6434baa0569d286d75eaf48.tar.gz binutils-47265957ad9b1de1d6434baa0569d286d75eaf48.tar.bz2 |
[gdb/testsuite] Fix gdb.dwarf2/gdb-add-index-symlink.exp
The test-case gdb.dwarf2/gdb-add-index-symlink.exp interpretes a failure to
add an index as a failure to add an index for a symlink:
...
if { [ensure_gdb_index $symlink] == -1 } {
fail "Unable to call gdb-add-index with a symlink to a symfile"
return -1
}
...
However, it's possible that the gdb-add-index also fails with a regular
file. Add a check for that situation.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/features')
0 files changed, 0 insertions, 0 deletions