[PATCH v7 2/2] gdb, breakpoint: output multiple bp locations

Gerlicher, Klaus klaus.gerlicher@intel.com
Mon Nov 4 10:03:15 GMT 2024


> -----Original Message-----
> From: Eli Zaretskii <eliz@gnu.org>
> Sent: Tuesday, October 29, 2024 5:54 PM
> To: Gerlicher, Klaus <klaus.gerlicher@intel.com>
> Cc: gdb-patches@sourceware.org; aburgess@redhat.com;
> blarsen@redhat.com
> Subject: Re: [PATCH v7 2/2] gdb, breakpoint: output multiple bp locations
> 
> > From: "Gerlicher, Klaus" <klaus.gerlicher@intel.com>
> > CC: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
> > 	"aburgess@redhat.com" <aburgess@redhat.com>,
> "blarsen@redhat.com"
> > 	<blarsen@redhat.com>
> > Date: Tue, 29 Oct 2024 15:57:47 +0000
> >
> > > > +@kindex show breakpoint max-breakpoint-locations-printed
> > > > +@item show breakpoint max-breakpoint-locations-printed
> > > > +Display the number of locations that @code{break} will print.  If the
> > > number
> > > > +of locations is greater than the limit, the additional number of locations
> > > > +will be listed.
> > >    ^^^^^^^^^^^^^^
> > > I guess "will not be listed"?
> > >
> >
> > What I meant to say is that there will be a line of output that tells the user
> > how many more locations apart from the listed one there are.
> >
> > So maybe:
> >
> > "If the number of locations is greater than the limit, the breakpoint
> command will
> > add a line reporting the number of locations that were not listed due to the
> limit.
> 
> Yes, that's much better.  Bonus points for showing an example of such
> output.

The GDB doc has an example right above this text. Is there a way to easily point to this example? 
Should I maybe add a line that says, "see last line of the small example above"?

Thanks
Klaus
> 
> Thanks.

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



More information about the Gdb-patches mailing list