diff options
author | Tom de Vries <tdevries@suse.de> | 2022-11-15 15:24:54 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-11-15 15:24:54 +0100 |
commit | bfa50dc8820416dd362b1c59aabd50633b9bbc67 (patch) | |
tree | c5ee27812e2fcd9652709be42e0f921c85c2e4f2 /gdbsupport/common-debug.cc | |
parent | 7642de570f32bf901f397c419172cd2ab863ebc6 (diff) | |
download | binutils-bfa50dc8820416dd362b1c59aabd50633b9bbc67.zip binutils-bfa50dc8820416dd362b1c59aabd50633b9bbc67.tar.gz binutils-bfa50dc8820416dd362b1c59aabd50633b9bbc67.tar.bz2 |
[gdb/testsuite] Normalize gdbserver path name
Currently for the target board remote-gdbserver-on-localhost we use the
gdbserver file on build, using a file name which includes "/../".
Fix this by using a normalized file name instead.
This allows us to be more restrictive about which files REMOTE_TARGET_USERNAME
can access:
...
- remote_exec build "chmod go-rx $objdir/outputs"
+ remote_exec build "chmod go-rx $objdir"
...
Tested on x86_64-linux.
Diffstat (limited to 'gdbsupport/common-debug.cc')
0 files changed, 0 insertions, 0 deletions