[obv] Handle var_string_noescape and var_optional_filename together.
Jan Kratochvil
jan.kratochvil@redhat.com
Wed Jul 18 15:26:00 GMT 2012
On Wed, 18 Jul 2012 22:59:15 +0200, Yao Qi wrote:
> How about this one?
Just it has a sort-of-regression:
(gdb) set args ~
(gdb) show args
Argument list to give program being debugged when it is started is "~".
->
Argument list to give program being debugged when it is started is "/home/jkratoch".
Therefore please modify also:
add_setshow_optional_filename_cmd ("args", class_run,
to rather use add_setshow_string_noescape_cmd together with:
set_cmd_completer (set_result, filename_completer);
It should not affect anything else I think.
Pre-approved with that change.
Thanks,
Jan
More information about the Gdb-patches
mailing list