[PATCH/RFC] Include value of default-collect in breakpoint/tracepoint list

Stan Shebs stan@codesourcery.com
Mon Apr 5 23:30:00 GMT 2010


Although it's always possible to find out the value of default-collect 
by doing a show command, in practice it's convenient to see it listed as 
part of "info break" or "info trace"; it helps keep the user aware that 
more may be getting collected than is listed with individual 
tracepoints.  This patch just gives it a line after the listing, and 
doesn't say anything if it is empty.

Since this is not strictly necessary and maybe even a little irregular, 
I invite comments - if enough people put finger down throat and make 
gagging noises, I'll withdraw it. :-)

Stan

2010-04-05  Stan Shebs  <stan@codesourcery.com>

    * breakpoint.c (default_collect_info): New function.
    (breakpoints_info): Call it.
    (maintenance_info_breakpoints): Ditto.
    (tracepoints_info): Ditto.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dcinfo-patch-1
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100405/09f73829/attachment.ksh>


More information about the Gdb-patches mailing list