This is the mail archive of the gdb-patches@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: RFA: Deprecate remote protocol sequence-ID



Andrew Cagney wrote:
> 
> I'd like to put forward the proposal that the sequence-id:
> 
> $sequence-id:packet-data#checksum
> 
> be clearly deprecated. 

I would actually prefer to see it properly defined to secure up
communications between
the target and GDB. (Obviously it would be selectable)

> Further, the syntax is dangerous as it
> restricts (in a very bizare way) the contents of actual packets.

Can you give an example of how it restricts packet contents, other than
having a 
colon as the third character in the packet.

A Target i'm writing can use them and seem to work fine? Although Ive
had to make
some interpretations in implementation because they are not well
defined.

Further if the Colon at position 3 is a problem, then don't use it. It
seems to me
that a function code of '0'-'9' is not used, so it would be easy to
detect these functions
and say 'Now using sequence-id' must check colon for verification. (Also
I check second character and it also must be 0-9.)

What do you think?

Stevne Johnson

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