This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/4] Query supported notifications by qSupported
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 18 Dec 2013 14:11:09 +0000
- Subject: Re: [PATCH 1/4] Query supported notifications by qSupported
- Authentication-results: sourceware.org; auth=none
- References: <1386856184-16519-1-git-send-email-yao at codesourcery dot com> <1386856184-16519-2-git-send-email-yao at codesourcery dot com>
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