This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

Re: RFA/RFC: vCont for the remote protocol [doco]


packet ->> "vCont" { field }+
field ->> ";" action [ ":" tid ]

which is very easy to parse. BTW, intro has this to say, so there aren't any guidelines :-(


That loses the requirement that the default action be last, which I'd
like to hold on to - OK?

Was that to ensure that there wasn't more than one default action? I think its better to instead clarify that in the text part of the spec vis:


"By default all unspecified threads remain stopped. An action with no corresponding {tdid} shall be applied to all threads with out an explicitly specified action. A packet specifying multiple default actions is erreneous."

Looking at the new gdbserver code it's pratically doing this now. BTW, I think it gets confused by the incorrect "...;cccccccccc", simplifying to be strictly LL1 will fix that.

I dislike the ';' because vCont is not an item in the list of actions
that the semicolons are separating; that turns ';' from a separator
into a prefix.  But hey, prefixes are people too.

Seperator or terminator?


Andrew



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