Remote logging over regular remote protocol
Pedro Alves
pedro@codesourcery.com
Wed May 19 15:11:00 GMT 2010
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
More information about the Gdb
mailing list