[PATCH 1/4] Query supported notifications by qSupported

Pedro Alves palves@redhat.com
Wed Dec 18 14:11:00 GMT 2013


On 12/12/2013 01:49 PM, Yao Qi wrote:
> 
>   --> qSupported:XXX;notifications=N1,N2.N3
>       (GDB supports notification N1, N2 and N3)
>   <-- XXX;Notifications=N1,N2,N4
>       (GDBsever supports notification N1, N2 and N4)

But is there any real benefit to the extra "Notifications="
indirection, rather than just treat notifications as regular
qSupported features?  IOW, why not simply:

   --> qSupported:XXX;N1+;N2+;N3+;N2ext+;ultimatefeature+

?

I.e., GDB supports XXX; N1 notifications; N2 notifications;
N3 notifications; foo extension on N2 notifications;
and the "ultimatefeature" feature, which actually
implies support for 3 different notifications.)

-- 
Pedro Alves



More information about the Gdb-patches mailing list