* cli/cli-setshow.c (do_setshow_command): Handle case 'var_filename'
authorYao Qi <yao@codesourcery.com>
Thu, 19 Jul 2012 12:48:17 +0000 (12:48 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 19 Jul 2012 12:48:17 +0000 (12:48 +0000)
commit6ace3df1ec836a2c7aaabbd32877229757fae412
treec9a18d6b62815ab120b435221b3b0c0413634527
parentf1415016b687b6b9d1f5c53c91036f8a565b2c52
* cli/cli-setshow.c (do_setshow_command): Handle case 'var_filename'
and case 'var_optional_filename' together.
* infcmd.c (_initialize_infcmd): Call add_setshow_string_noescape_cmd
instead of add_setshow_optional_filename_cmd for setshow command
'args'.  Set completer for 'set args'.

gdb/testsuite:

* gdb.base/setshow.exp: Test 'set args ~'.
gdb/ChangeLog
gdb/cli/cli-setshow.c
gdb/infcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/setshow.exp