aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common-utils.cc
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-11-15 15:24:54 +0100
committerTom de Vries <tdevries@suse.de>2022-11-15 15:24:54 +0100
commit4b4f2a7d2551ecb98dbb3fbfff3e3ba177916f78 (patch)
tree3c280040f85919878ab0380806bb1c7236fe61d5 /gdbsupport/common-utils.cc
parent2a1742f31c21c852ebc105adc0dfb6b57570f552 (diff)
downloadbinutils-4b4f2a7d2551ecb98dbb3fbfff3e3ba177916f78.zip
binutils-4b4f2a7d2551ecb98dbb3fbfff3e3ba177916f78.tar.gz
binutils-4b4f2a7d2551ecb98dbb3fbfff3e3ba177916f78.tar.bz2
[gdb/testsuite] Fix gdb.base/print-file-var.exp for remote target
When running test-case gdb.base/print-file-var.exp with target board remote-gdbserver-on-localhost (using REMOTE_TARGET_USERNAME) we run into some failures. Fix these by using the name of a shared lib as returned by gdb_load_shlib. This required splitting up the gdb_load_shlib functionality, which is now defined as: ... proc gdb_load_shlib { file } { set dest [gdb_download_shlib $file] gdb_locate_shlib $file return $dest } ... such that we can do gdb_download_shlib before gdb is started. Tested on x86_64-linux. Co-Authored-by: Ivan Tetyushkin <ivan.tetyushkin@syntacore.com>
Diffstat (limited to 'gdbsupport/common-utils.cc')
0 files changed, 0 insertions, 0 deletions