This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, doc RFA] Make second arg to "mt print *symbols" a regexp


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]