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] (regression) Executable gets not download with remote-stdio-gdbserver.exp board


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.

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