This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: minimal stub? (GDB Remote Serial Protocol)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]