From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58546 invoked by alias); 27 Aug 2018 04:39:28 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 58531 invoked by uid 89); 27 Aug 2018 04:39:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1492, HContent-Transfer-Encoding:8bit X-HELO: mailsec101.isp.belgacom.be Received: from mailsec101.isp.belgacom.be (HELO mailsec101.isp.belgacom.be) (195.238.20.97) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Aug 2018 04:39:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1535344763; x=1566880763; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=+avRjoSJgwC/5JIbu/S/TX29Y9W5oAQo9PLSRCM3uwU=; b=Jw1E7zYe6MSr0+/1D4gziF8Z3oTaJ86CNOMgYygOWKAWo8Nys+3QYGdG oLK0G7ruTzR4OKcPDcwIydFS6NLLfg==; Received: from 128.161-134-109.adsl-dyn.isp.belgacom.be (HELO md) ([109.134.161.128]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 27 Aug 2018 06:39:21 +0200 Message-ID: <1535344760.1438.13.camel@skynet.be> Subject: Re: [RFAv2 5/6] Announce changes in NEWS to info [args|functions|locals|variables] From: Philippe Waroquiers To: Eli Zaretskii Cc: gdb-patches@sourceware.org Date: Mon, 27 Aug 2018 04:39:00 -0000 In-Reply-To: <83pny556qj.fsf@gnu.org> References: <20180826165359.1600-1-philippe.waroquiers@skynet.be> <20180826165359.1600-6-philippe.waroquiers@skynet.be> <83pny556qj.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00643.txt.bz2 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 > > Cc: Philippe Waroquiers > > 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