Target-specific command logging facility
Maciej W. Rozycki
macro@mips.com
Fri Dec 7 15:45:00 GMT 2007
On Fri, 7 Dec 2007, Daniel Jacobowitz wrote:
> > Having seen no objections I have committed it now.
>
> Jim approved this, so it's fine - but could you explain the use case
> for this? Why should it be target specific?
MDI support provides its own logging facility which lets the user ask for
commands issued to GDB to be passed down to the target. The target may
than place these commands within its own log file (which will typically
provide additional data beyond the scope of GDB itself, such as the record
of transactions performed at the JTAG port) which lets one see what
actions at the target result from each of the GDB command. Useful for
debugging the MDI target itself.
Being self-contained I resisted from submitting this change together with
MDI not to obfuscate the view. I should be able to submit the MDI change
pretty soon now, though I have to take your suggestion on the handling of
threads first.
Maciej
More information about the Gdb-patches
mailing list