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)


Jon,

Thanks for the suggestion.  It gives me a starting point.

-Vijay

-----Original Message-----
From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]On
Behalf Of Jon Ringle
Sent: Friday, January 23, 2004 4:55 PM
To: gdb@sources.redhat.com
Subject: Re: minimal stub? (GDB Remote Serial Protocol)


On Friday 23 January 2004 06:06 pm, Vijay Kamarshi wrote:
> Hi all,
>
> I am planning on using GDB to debug a remote processor running a debug
> stub. It is quite concerning to me that the remote protocol document is
> out-of-date.  Is it that easy to figure out what the protocol is by
> experimentation?  For example if the GDB host sends a stream of commands
to
> the remote processor and it mis-interprets the first one, is the host not
> going to just quit on that?  That would make the experimentation process
> pretty long!
>
> I am puzzled:
> 1) are there no people out there who have this protocol figured out?  I
> would appreciate at least a starting point!
> 2) are all the commands in the remote protocol document out of date or
just
> some of them?
>
> Any help would be gratefully received.
>
> -Vijay Kamarshi
> PS:  I heard that one way of figuring out this remote protocol is to peer
> deeply into gdbserver, but people have warned me that it is a pretty hairy
> piece of code.

Hi Vijay,

A while back I backported an arm kgdb patch for kernel 2.4.19 to a target
based on kernel 2.2.16 found at:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=1335/1

It may be helpful.

Jon




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