diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-17 13:29:13 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-17 13:29:13 +0100 |
commit | a14e3d11b2656355ca2c3d5b5a9f05e46f71e897 (patch) | |
tree | ba67dc89bfd65678df4af60a0354f91c91abce21 /gdb/run-on-main-thread.c | |
parent | ff000c4dbb2b99531c8cda1e0e67e787ce8aef20 (diff) | |
download | binutils-a14e3d11b2656355ca2c3d5b5a9f05e46f71e897.zip binutils-a14e3d11b2656355ca2c3d5b5a9f05e46f71e897.tar.gz binutils-a14e3d11b2656355ca2c3d5b5a9f05e46f71e897.tar.bz2 |
[gdb/testsuite] Handle remote host in escape_for_host
With test-case gdb.arch/ftrace-insn-reloc.exp and host board
local-remote-host-notty and target board native-gdbserver, I run into:
...
FAIL: gdb.arch/ftrace-insn-reloc.exp: IPA loaded
...
due to having:
...
$ readelf -d ftrace-insn-reloc | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: []
...
instead of:
...
$ readelf -d ftrace-insn-reloc | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN]
...
Handle this in escape_for_host.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/run-on-main-thread.c')
0 files changed, 0 insertions, 0 deletions