This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: remote protocol ? command
- To: jtc@redback.com
- Subject: Re: remote protocol ? command
- From: Andrew Cagney <ac131313@cygnus.com>
- Date: Fri, 03 Sep 1999 18:03:46 +1000
- CC: gdb@sourceware.cygnus.com
- Organization: Cygnus Solutions
- References: <5m4shfoz29.fsf@jtc.redbacknetworks.com>
"J.T. Conklin" wrote:
>
> Are all of the responses that may be returned by the C/c/S/s commands
> valid responses to the ? command?
>
> I would assume so, but the protocol documentation explicitly lists the
> S packet instead of refering the reader to the section where all exec-
> ution status replies are enumerated and all the stubs I've seen always
> return 'SXX' even when they otherwise return 'TXX....'.
Looking at remote.c I can't find anything rulling this out. As far as I
can tell remote.c uses the remote_wait() (which accepts anything) when
parsing the response.
I would guess that it is just a hang-over from older documentation.
Andrew