This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFA] use filename_completer for add_setshow_optional_filename_cmd
- From: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: "'Joel Brobecker'" <brobecker at adacore dot com>, "'Eli Zaretskii'" <eliz at gnu dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Sat, 5 Jul 2008 00:52:21 +0200
- Subject: RE: [RFA] use filename_completer for add_setshow_optional_filename_cmd
- References: <000001c8dbc2$b1d7afe0$15870fa0$@u-strasbg.fr> <20080704061700.GB18019@adacore.com>
I have committed this patch together with the NEWS
entry, approved by Eli.
Thanks to Joel and Eli,
Pierre Muller
Pascal language support maintainer for GDB
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé?: Friday, July 04, 2008 8:17 AM
> À?: Pierre Muller
> Cc?: gdb-patches@sourceware.org
> Objet?: Re: [RFA] use filename_completer for
> add_setshow_optional_filename_cmd
>
> > 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.
>
> I also agree that this is more useful than completing on symbols.
>
> > 2008-07-01 Pierre Muller <muller@ics.u-strasbg.fr>
> >
> > cli/cli-decode.c (add_setshow_optional_filename_cmd): Set
> > completer for set to filename_completer.
>
> This change makes sense. Can you submit a NEWS entry describing the
> new completion policy? The code update itself is approved.
>
> Thank you,
> --
> Joel