This is the mail archive of the gdb-patches@sourceware.org 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: RFC: Remote "qSupported" features probe


On Tue, Jun 13, 2006 at 02:37:32PM +0100, Nathan Sidwell wrote:
> Daniel,
> 
> is there a reason that the qSupported uses a ':' as the first separator but 
> ';' for subsequent separators?  It seems needlessly different.

I agree.  But, that's what Jim added to the top of General Query Packets
as the convention:

   The name of a query or set packet should be separated from any
parameters by a `:'; the parameters themselves should be separated by
`,' or `;'.  Stubs must be careful to match the full packet name, and
check for a separator or the end of the packet, in case two packet
names share a common prefix.  New packets should not begin with `qC',
`qP', or `qL'(1).

I don't feel too strongly about it.  Do you think it should be changed?

-- 
Daniel Jacobowitz
CodeSourcery


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