[PATCH 0/6] Add a new field 'installed' when reporting tracepoint

Pedro Alves palves@redhat.com
Thu Dec 6 20:55:00 GMT 2012


On 12/04/2012 04:44 AM, Yao Qi wrote:
> Hello,
> During the review to 'tracepoint download' notification
> <http://sourceware.org/ml/gdb-patches/2012-11/msg00871.html>, we find it is
> better to treat 'installed on target' as an attribute of a tracepoint,
> and breakpoint related notification can report it, instead of a
> separate notification.
> 
> In this patch series, we add a field 'installed' in
> print_one_breakpoint_location, which is a boolean to show "y" or "n" the
> tracepoint is installed on target.  The field reflects the value of
> 'inserted' field of each location.

Thanks.

> Originally, my proposal is for MI notification, but I think it also
> useful to display the state of 'installed' in the output of CLI.  With
> this series applied, we can see the 'installed' state in both CLI and
> MI.

Absolutely.

> 
> The 'installed' field is not shown for non-tracepoint breakpoint,
> because in most of cases, breakpoints are inserted when to resume
> inferior, and removed when inferior stops.

Yeah.

-- 
Pedro Alves



More information about the Gdb-patches mailing list