From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94729 invoked by alias); 31 Mar 2019 19:16:07 -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 94528 invoked by uid 89); 31 Mar 2019 19:15:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS,URIBL_BLOCKED autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1414 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 31 Mar 2019 19:15:37 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAfvR-0002xD-Sy; Sun, 31 Mar 2019 15:15:25 -0400 Received: from [176.228.60.248] (port=2277 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hAfvQ-0000c6-R3; Sun, 31 Mar 2019 15:15:25 -0400 Date: Sun, 31 Mar 2019 19:16:00 -0000 Message-Id: <83k1gehn3f.fsf@gnu.org> From: Eli Zaretskii To: Philippe Waroquiers CC: gdb-patches@sourceware.org In-reply-to: <20190331190803.7248-4-philippe.waroquiers@skynet.be> (message from Philippe Waroquiers on Sun, 31 Mar 2019 21:08:03 +0200) Subject: Re: [RFA 3/3] NEWS and documentation for new info sources [-d | -b] [--] [REGEXP] args References: <20190331190803.7248-1-philippe.waroquiers@skynet.be> <20190331190803.7248-4-philippe.waroquiers@skynet.be> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00781.txt.bz2 > From: Philippe Waroquiers > Cc: Philippe Waroquiers > Date: Sun, 31 Mar 2019 21:08:03 +0200 > > gdb/doc/ChangeLog > 2019-03-31 Philippe Waroquiers > > * gdb.texinfo (info sources): Document new args. The name in the parentheses should be the name of the @node where you are making changes. I don't think that's "info sources", is it? > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -16,6 +16,14 @@ > > * Support for Pointer Authentication on AArch64 Linux. > > +* Changed commands > + > +info sources [-d | -b] [--] [REGEXP] > + This command has now optional arguments to only print the files > + whose names match REGEXP. The arguments -d and -b allow to > + restrict matching respectively to the dirname and basename > + parts of the files. This part is OK. > +@item info sources [-d | -b] [--] [@var{regexp}] > +Like @samp{info sources}, but only print the names of the files > +matching the provided regexp. ^^^^^^ "@var{regexp}", to reference the command's argument. > +By default, the regexp is used to match anywhere in the filename. ^^^^^^ And here. > +If -d, only files having a dirname matching regexp are shown. > +If -b, only files having a basename matching regexp are shown. And here. OK with those fixed. Thanks.