minimal stub? (GDB Remote Serial Protocol)
Daniel Jacobowitz
drow@mvista.com
Fri Jan 23 00:45:00 GMT 2004
On Fri, Jan 23, 2004 at 12:16:48AM +0100, Németh Márton wrote:
> Hi!
>
> I would like to implement a minimal stub which can communicatig with
> arm-elf-gdb 6.0. The documentation
> ( http://sources.redhat.com/gdb/current/onlinedocs/gdb_33.html ) says,
> that:
>
> | For any command not supported by the stub, an empty response (`$#00')
> | should be returned. That way it is possible to extend the protocol. A
> | newer GDB can tell if a packet is supported based on that response.
> |
> | A stub is required to support the `g', `G', `m', `M', `c', and `s'
> | commands. All other commands are optional.
> Have I misunderstand the documentation or it is out of date?
It is out of date.
> Where can I have up to date informations? (e.g. which file in the
> gdb source tree)
Nowhere; you'll just have to experiment. If you would like to report a
minimal set I'll update the documentation. You'll need to start with
'?' definitely.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list