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: [RFAv2 5/6] Announce changes in NEWS to info [args|functions|locals|variables]


Thanks for the review, I will do the updates as suggested
in this and the other mail.

One question below.

Philippe


On Sun, 2018-08-26 at 21:21 +0300, Eli Zaretskii wrote:
> > From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> > Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> > Date: Sun, 26 Aug 2018 18:53:58 +0200
> > 
> > +info args [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> > +info functions [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> > +info locals [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> > +info variables [-q] [-t TYPEREGEXP] [NAMEREGEXP]
> > +  These commands can now print only the searched entities
> > +  matching the provided regexp(s), giving a condition
> > +  on the entity names or entity types.
> 
> I'd lose "searched".  How about the following?
> 
>   These commands can now print only the entities whose names and/or
>   types match the specified regular expressions.
> 
> > +                                         The flag -q
> > +  disables printing headers or informations messages.
> 
> "informative messages", I guess?
These are the messages explaining why no entity was printed, e.g
  (gdb) info arg -t xxxx yyyy
  No matching arguments.
  (gdb) info arg -q -t xxxx yyyy
  (gdb) 

  (gdb) info arg -t xxxx yyyy   
  No symbol table info available.
  (gdb) info arg -q -t xxxx yyyy
  (gdb) 

So, what about (like in the texinfo doc):          The flag -q
   disables printing headers or messages explaining why no entities
   have been printed.
?

Philippe


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