This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: add completion for "set gnutarget"
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 4 Jan 2013 14:17:28 +0400
- Subject: Re: RFC: add completion for "set gnutarget"
- References: <87zk0q5j4n.fsf@fleche.redhat.com>
> 2013-01-02 Tom Tromey <tromey@redhat.com>
>
> * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
> set command.
> * command.h (add_setshow_string_noescape_cmd): Update.
> * corefile.c (set_gnutarget_command): Remove trailing whitespace.
> (complete_set_gnutarget): New function.
> (_initialize_core): Set the "set gnutarget" completer.
>
> 2013-01-02 Tom Tromey <tromey@redhat.com>
>
> * gdb.base/completion.exp: Add "set gnutarget" test.
FWIW, I took a look, and it looks fine to me too.
--
Joel