This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI tracepoints 5/9] -break-passcount
On Tuesday 16 March 2010 18:37:13 Tom Tromey wrote:
> >>>>> "Volodya" == Vladimir Prus <vladimir@codesourcery.com> writes:
>
> Tom> Doesn't the use of get_tracepoint make it tracepoint-specific?
> Tom> Or is this changed somewhere in the patch series?
>
> Volodya> I was confused. This command remains specific to tracepoint, there's
> Volodya> no patch (yet?) that merges -break-passcount and -break-after and
> Volodya> in fact, it's probably not a good idea.
>
> In that case, shouldn't the new command be called -trace-passcount, not
> -break-passcount?
I am not sure. Given that tracepoints are special kind of breakpoint now,
I'd rather have -break-passcount, with -trace command reserversed for
overall control of tracing. After all, mixing -break-insert -a with
later -trace-passcount may be confusing.
Thanks,
--
Vladimir Prus
CodeSourcery
vladimir@codesourcery.com
(650) 331-3385 x722