This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: 'show args' -vs- '--args'


Ping.  (I hope it isn't too early for that.)

Tom> This patch fixes the problem by using the (apparently as-yet-unused)
Tom> 'pre_show_hook' of the show command.

Tom> ChangeLog:
Tom> 2008-02-03  Tom Tromey  <tromey@redhat.com>
Tom> 	* symfile.c (_initialize_symfile): Update.
Tom> 	* solib.c (_initialize_solib): Update.
Tom> 	* cli/cli-decode.c (add_setshow_optional_filename_cmd): Set
Tom> 	pre_show_hook.
Tom> 	* infcmd.c (notice_args_read): Change arguments.  Don't print
Tom> 	value.
Tom> 	(_initialize_infcmd): Update.
Tom> 	* command.h (add_setshow_optional_filename_cmd): Add
Tom> 	'pre_show_func' argument.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]