Re: Remote logging over regular remote protocol

Pedro Alves
2010-05-19T15:11:08Z

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