This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/22841] Executable gets not downloaded with remote-stdio-gdbserver.exp board


https://sourceware.org/bugzilla/show_bug.cgi?id=22841

--- Comment #20 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Simon Marchi <simark@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e4fe3756763773940b003159649f224a5ac42ee0

commit e4fe3756763773940b003159649f224a5ac42ee0
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Thu Mar 8 17:53:57 2018 -0500

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]