This is the mail archive of the gdb@sourceware.cygnus.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]

Re: remote protocol ? command


"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

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