This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: minimal stub? (GDB Remote Serial Protocol)
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 22 Jan 2004 19:45:01 -0500
- Subject: Re: minimal stub? (GDB Remote Serial Protocol)
- References: <Pine.GSO.4.58.0401230000420.20883@ural2>
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