RFC: add completion for "set gnutarget"

Joel Brobecker brobecker@adacore.com
Fri Jan 4 10:17:00 GMT 2013


> 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



More information about the Gdb-patches mailing list