This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, doc RFA] Make second arg to "mt print *symbols" a regexp
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 27 Oct 2015 05:32:09 +0200
- Subject: Re: [PATCH, doc RFA] Make second arg to "mt print *symbols" a regexp
- Authentication-results: sourceware.org; auth=none
- References: <047d7bd9006ee97da50520eb39a0 at google dot com> <CADPb22TKN3Fbn8n+HB=w7+wYiW_0BeN8mxsvM+07Kc5-R0N5Mg at mail dot gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Doug Evans <dje@google.com>
> Date: Mon, 26 Oct 2015 13:56:44 -0700
>
> > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> > index f298172..96171b3 100644
> > --- a/gdb/doc/gdb.texinfo
> > +++ b/gdb/doc/gdb.texinfo
> > @@ -16809,10 +16809,12 @@ entered from the keyboard causes symbol
> > information to be loaded.
> > @cindex partial symbol dump
> > @kindex maint print msymbols
> > @cindex minimal symbol dump
> > -@item maint print symbols @var{filename}
> > -@itemx maint print psymbols @var{filename}
> > -@itemx maint print msymbols @var{filename}
> > +@item maint print symbols @var{filename} @r{[} @var{regexp} @r{]}
> > +@itemx maint print psymbols @var{filename} @r{[} @var{regexp} @r{]}
> > +@itemx maint print msymbols @var{filename} @r{[} @var{regexp} @r{]}
> > Write a dump of debugging symbol data into the file @var{filename}.
> > +If @var{regexp} is given then only print symbols from files that match
> > +the regular expression.
> > These commands are used to debug the @value{GDBN} symbol-reading code.
> > Only
> > symbols with debugging data are included. If you use @samp{maint print
> > symbols}, @value{GDBN} includes all the symbols for which it has already
>
> Ping on the doc part.
Sorry. This is OK, but maybe instead of "then" use just a comma: "If
@var{regexp} is given, only print symbols ...".
Thanks.