From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23725 invoked by alias); 4 Jul 2008 14:56:43 -0000 Received: (qmail 23659 invoked by uid 22791); 4 Jul 2008 14:56:41 -0000 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Jul 2008 14:55:58 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id m64EtL7k082702 ; Fri, 4 Jul 2008 16:55:21 +0200 (CEST) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402::142]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id m64EtLHw009303 ; Fri, 4 Jul 2008 16:55:21 +0200 (CEST) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) by mailserver.u-strasbg.fr (8.13.8/jtpda-5.5pre1) with ESMTP id m64EtGE6062151 ; Fri, 4 Jul 2008 16:55:21 +0200 (CEST) From: "Pierre Muller" To: "'Joel Brobecker'" Cc: References: <000001c8dbc2$b1d7afe0$15870fa0$@u-strasbg.fr> <20080704061700.GB18019@adacore.com> In-Reply-To: <20080704061700.GB18019@adacore.com> Subject: RE: [RFA] use filename_completer for add_setshow_optional_filename_cmd Date: Fri, 04 Jul 2008 14:56:00 -0000 Message-ID: <000001c8dde5$ffc096c0$ff41c440$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::154]); Fri, 04 Jul 2008 16:55:21 +0200 (CEST) X-Virus-Status: Clean 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 X-SW-Source: 2008-07/txt/msg00058.txt.bz2 What about this for NEWS: diff -u -p -r1.277 NEWS --- gdb/NEWS 11 Jun 2008 12:56:36 -0000 1.277 +++ gdb/NEWS 4 Jul 2008 11:35:19 -0000 @@ -3,6 +3,9 @@ =20 *** Changes since GDB 6.8 =20 +* Commands `set debug-file-directory', `set solib-search-path' and `set args' +now complete on file names. + * When completing in expressions, gdb will attempt to limit completions to allowable structure or union fields, where appropriate. For instance, consider: The only problem is that for `set args' , there is a similar claim in NEWS dating back from GDB 5.1 release.... > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Joel Brobecker > Envoy=E9=A0: Friday, July 04, 2008 8:17 AM > =C0=A0: Pierre Muller > Cc=A0: gdb-patches@sourceware.org > Objet=A0: Re: [RFA] use filename_completer for > add_setshow_optional_filename_cmd >=20 > > There are currently only three adffected commands: > > > > "set debug-file-directory" > > "set args" > > "set solib-search-path" > > > > Only the second one might be questionable, but I also find that it > > is reasonable to have filename completion for "set args" as this is > > now done on most shells. >=20 > I also agree that this is more useful than completing on symbols. >=20 > > 2008-07-01 Pierre Muller > > > > cli/cli-decode.c (add_setshow_optional_filename_cmd): Set > > completer for set to filename_completer. >=20 > This change makes sense. Can you submit a NEWS entry describing the > new completion policy? The code update itself is approved. >=20 > Thank you, > -- > Joel