This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Support for enabling/disabling tracepoints while a trace experiment is running
> Date: Mon, 09 May 2011 20:31:10 +0100
> From: Kwok Cheung Yeung <kcy@codesourcery.com>
> CC: gdb-patches@sourceware.org
>
> On 06/05/2011 11:32, Eli Zaretskii wrote:
> > Btw, what if the target does not support this new feature? Do we
> > still disallow to start a trace experiment with no enabled
> > tracepoints? I think we should.
> >
>
> I've now added 'EnableDisableTracepoints' to the list of features returned by
> the qSupported packet from a patched gdbserver. GDB now checks whether this is
> supported before trying to enable/disable a tracepoint on the target. If it is
> not, then it silently reverts to the original behaviour.
Thanks.
This version of the docs is fine with me.