RFC: Remote "qSupported" features probe

Daniel Jacobowitz drow@false.org
Tue Jun 13 13:44:00 GMT 2006


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



More information about the Gdb-patches mailing list