This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Remote logging over regular remote protocol
On Wednesday 19 May 2010 10:32:57, Bogdan Harjoc wrote:
> Do remote stubs have the ability to send logging messages to the gdb console ?
Perhaps you're looking for the `O' packet?
<http://sourceware.org/gdb/current/onlinedocs/gdb/Stop-Reply-Packets.html#Stop-Reply-Packets>
`O XX...'
`XX...' is hex encoding of ascii data, to be written as the program's console output. This can happen at any time while the program is running and the debugger should continue to wait for `W', `T', etc. This reply is not permitted in non-stop mode.
--
Pedro Alves