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: Target-specific command logging facility


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


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