remote protocol ? command

Andrew Cagney ac131313@cygnus.com
Fri Sep 3 01:04:00 GMT 1999


"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


More information about the Gdb mailing list