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: [PATCH 1/4] Query supported notifications by qSupported


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


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