This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/22841] (regression) Executable gets not download with remote-stdio-gdbserver.exp board
- From: "simon.marchi at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 15 Feb 2018 03:53:16 +0000
- Subject: [Bug gdb/22841] (regression) Executable gets not download with remote-stdio-gdbserver.exp board
- Auto-submitted: auto-generated
- References: <bug-22841-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22841
Simon Marchi <simon.marchi at ericsson dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simon.marchi at ericsson dot com
--- Comment #1 from Simon Marchi <simon.marchi at ericsson dot com> ---
Hi Christian,
Your patch overrides the methods defined in config/gdbserver-base.exp, which
themselves override the default methods from Dejagnu to do various operations
on files.
I think that the methods in gdbserver-base.exp were needed back when the
gdbserver boards (at least native-gdbserver.exp) were considered as "remote" by
Dejagnu. These methods were probably added to prevent Dejagnu trying to
ssh/rsh into the target machine (which is localhost).
However, these boards were recently all made non-remote from the point of view
of Dejagnu. I am therefore not sure the methods in gdbserver-base.exp are
still needed, and I suspect we could remove them. Because the boards are
non-remote, the default behavior of Dejagnu will be to use local file
operations (same as the unix.exp target board).
Simon
--
You are receiving this mail because:
You are on the CC list for the bug.