Target-specific command logging facility

Daniel Jacobowitz drow@false.org
Fri Dec 7 16:21:00 GMT 2007


On Fri, Dec 07, 2007 at 03:36:05PM +0000, Maciej W. Rozycki wrote:
>  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.

Ah, I see.  Yes, that does sound useful.  Perhaps we should get MI
targets to log commands similarly, if they don't already, and a way to
do this same nice trick to stubs speaking the ordinary remote protocol.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list