diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-17 19:25:18 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-17 19:25:18 +0100 |
commit | 1850ef87c62178705d84af9b4c9cf72f17b9fd93 (patch) | |
tree | ad28ebdac94a683c5e6911d0ea4389f02de0b9ea /gdb/amd64-linux-tdep.c | |
parent | 68f2478faab051348a2e194549d9325bc92476b1 (diff) | |
download | binutils-1850ef87c62178705d84af9b4c9cf72f17b9fd93.zip binutils-1850ef87c62178705d84af9b4c9cf72f17b9fd93.tar.gz binutils-1850ef87c62178705d84af9b4c9cf72f17b9fd93.tar.bz2 |
[gdb/testsuite] Handle remote host in gdb_load_shlib
With test-case gdb.arch/ftrace-insn-reloc.exp and host board
local-remote-host-notty and target board native-gdbserver I run into:
...
(gdb) tstart^M
Target returns error code '.In-process agent library not loaded in process. \
Fast and static trace points unavailable.'.^M
(gdb) FAIL: gdb.arch/ftrace-insn-reloc.exp: start trace experiment
...
Fix this by:
- handling remote host in gdb_load_shlib, and
- moving the gdb_load_shlib to after the clean_restart, such that the
set solib-search-path can take effect.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/amd64-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions