This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] traceframe_changed observer and MI notification
> Date: Tue, 18 Sep 2012 16:47:01 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <gdb-patches@sourceware.org>
>
> How about the new one?
OK, but ...
> +@deftypefun void traceframe_changed (int @var{tfnum}, int @var{tpnum})
> +The trace frame is changed to @var{tfnum} (e.g., by using the
> +@code{tfind} command). The number of the tracepoint associated with
> +this traceframe is @var{tpnum}. If @var{tfnum} is negative, it means
> +@value{GDBN} resumes live debugging.
As I wrote earlier, the last sentence should follow the first one,
because it refers to tfnum, not to tpnum.