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

--- Comment #3 from Simon Marchi <simon.marchi at ericsson dot com> ---
(In reply to Christian from comment #2)
> Hi Simon,
> 
> if understood it correctly, there is no board file anymore which can be used
> on
> an Unix machine to run the test on an ARM device using the gdbserver from
> that
> machine. In other words, it is defined behavior.
> 
> When I want to run the tests on a remote ARM device from an Unix machine, I
> would
> need to write my own board configuration file, am I right?
> 
> Christian

I don't think there was ever a board file shipped with GDB that did that out of
the box, was there?  It was always the case that you needed to write your own. 
At the very least, you need to specify which compiler to use to build the test
cases.

As you probably know, you can adapt the example found here:
https://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_remote_cross-target_configuration

If you want to use stdio instead of tcp for the GDB remote protocol, then I
guess you can create a new board file that is a combination of the example in
the wiki and remote-stdio-gdbserver.exp.

-- 
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]