* cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
authorTom Tromey <tromey@redhat.com>
Mon, 14 Jan 2013 21:05:07 +0000 (21:05 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 14 Jan 2013 21:05:07 +0000 (21:05 +0000)
commit44478ab3404a5416c1864f8b47ad28eaca7bb0d9
tree19712603f7ece0901405ea9f0598eff0b3f172dc
parent06d66ee9d97cf451db4bdd7952eca099bc171706
* 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.
gdb/testsuite
* gdb.base/completion.exp: Add "set gnutarget" test.
gdb/ChangeLog
gdb/cli/cli-decode.c
gdb/command.h
gdb/corefile.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/completion.exp