diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-03-08 17:53:57 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-03-08 17:53:57 -0500 |
commit | e4fe3756763773940b003159649f224a5ac42ee0 (patch) | |
tree | 7329218360eb2c02ed9ffba515e3cb5defa7cc10 /gdb/unittests/xml-utils-selftests.c | |
parent | d3d50934a9101416c3106497d6ea9ce548760253 (diff) | |
download | binutils-e4fe3756763773940b003159649f224a5ac42ee0.zip binutils-e4fe3756763773940b003159649f224a5ac42ee0.tar.gz binutils-e4fe3756763773940b003159649f224a5ac42ee0.tar.bz2 |
Don't redefine upload/download/file in gdbserver-base
Before patch
Make native gdbserver boards no longer be "remote" (in DejaGnu terms)
739b3f1d8ff7072dcc66240c25b026c6433bda1a
the local gdbserver boards (except native-extended-gdbserver...) were
considered as remote by DejaGNU. To avoid DejaGNU trying to use ssh/scp
to download the files to the target (which is actually local), the
gdbserver-base.exp file defined some _download, _upload and _file board
operations to override the default behavior, and instead just use local
operations.
The same patch also changed remote-stdio-gdbserver.exp to make it
inherit from gdbserver-base.exp. Since then, this board (which is
actually remote) uses the overrides with local file operations. As a
result, files are never actually copied to the target.
I think we can simply remove the overrides from gdbserver-base.exp.
Because all boards should be properly considered local or remote by
DejaGNU, it should by default use the right method for transferring
files.
gdb/testsuite/ChangeLog:
PR gdb/22841
* boards/gdbserver-base.exp (${board}_file, ${board}_download,
${board}_upload): Remove.
Diffstat (limited to 'gdb/unittests/xml-utils-selftests.c')
0 files changed, 0 insertions, 0 deletions