This is the mail archive of the
mailing list for the GDB project.
Re: Is "QTBuffer:size" a packet, or "QTBuffer:" plus an argument?
On 02/16/2012 01:22 AM, Pedro Alves wrote:
> One question this raises is, is the right response to
> QTBuffer:size:ffffffff, "E01", or an empty reply, indicating packet
> not supported? IOW, are QTBuffer:size and QTBuffer:circular two
> different packets, or a single QTBuffer: packet with different
> arguments? This makes a difference if GDB is to gracefully detect
> when the target side doesn't support QTBuffer:foo.
IMO, "QTBuffer" is the packet, and "size" is an argument. I hope the
right response to QTBuffer:size:ffffffff is an empty reply, means remote
stubs don't support QTBuffer:size. Reply "E01" means remote stub
supports QTBuffer:size, but unable to meet this request, due to some
reasons, limited memory, for example.