This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
rsp documentation
- From: "John S. Yates, Jr." <jyates at netezza dot com>
- To: "gdb" <gdb at sources dot redhat dot com>
- Date: Fri, 16 May 2003 09:02:26 -0400
- Subject: rsp documentation
- Organization: Netezza Corporation
- Reply-to: "John S. Yates, Jr." <jyates at netezza dot com>
As I mentioned in a mailing yesterday I have been
implementing thread support in a remote stub.
I had little difficulty implementing the 'P' packet
but implementing the 'G' packet looked to be a real
pain. My first cut was to make 'G' return an error.
Happily my stub work's fine.
Looking at the source in remote.c it is clear that
the statement in the last sentence of "D.1 Overview"
in the gdb manual is inaccurate. A stub need not
implement 'G' if it implements 'P' (at least if it
is intended to communicate only with more recent
releases).
/john
--
John S. Yates, Jr. 508 665-6897 (voice)
Netezza Inc 508 665-6811 (fax)
200 Crossing Blvd. Framingham, MA 01701