This is the mail archive of the gdb-patches@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]

Re: add file I/O support when debugging an embedded target via jtag


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


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