This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: add file I/O support when debugging an embedded target via jtag
- From: John Dallaway <jld at ecoscentric dot com>
- To: Daniel Jacobowitz <drow at false dot org>, Doug Evans <dje at google dot com>, Stan Shebs <stan at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Bart Veer <bartv at ecoscentric dot com>
- Date: Fri, 17 Oct 2008 12:59:00 +0100
- Subject: Re: add file I/O support when debugging an embedded target via jtag
- References: <pnr685s96z.fsf@delenn.bartv.net> <48BAAC44.4000002@codesourcery.com> <pnod39ry8d.fsf@delenn.bartv.net> <pnr67brwxa.fsf@delenn.bartv.net> <e394668d0809230502s26c5a421rbde991bb94b775eb@mail.gmail.com> <pnljxhs0kb.fsf@delenn.bartv.net> <e394668d0809251004s4dbac963n3e8baa8c521bd8bf@mail.gmail.com> <pnabdwrmyx.fsf@delenn.bartv.net> <20080925222009.GA8202@caradoc.them.org> <pn1vz017q9.fsf@delenn.bartv.net> <20081001210933.GA8477@caradoc.them.org> <pnej2pzobz.fsf@delenn.bartv.net>
Daniel, Stan and Doug
Thank you for your comments on Bart Veer's original proposal and
subsequent patch for file I/O support when debugging via JTAG.
Proposal: http://sourceware.org/ml/gdb/2008-07/msg00045.html
Patch: http://sourceware.org/ml/gdb-patches/2008-08/msg00315.html
We now need to draw this to a conclusion and move on.
The principle objection to the patch is that it introduces a new target
ops stratum which might break other configurations or impede future
developments. During our initial investigation we came to the conclusion
that introducing a new stratum was the most elegant way to implement
this functionality in a generic manner. In his response to the original
proposal, Daniel wrote:
> It's sad that you need to use the target strata for this. Doing it
> directly in the remote target would work for all of the above except
> for "target bdm". But I suppose it's reasonable.
Is there anything we can now do to make the patch acceptable short of a
re-implemention to avoid introducing a new stratum?
John Dallaway
eCosCentric Limited