This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch: 'show args' -vs- '--args'
On Thu, Feb 28, 2008 at 09:22:13AM -0700, Tom Tromey wrote:
> >>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
>
> Daniel> I'm fine with either the above, or setting pre_show_hook manually; I
> Daniel> didn't like add_setshow_optional_filename_cmd having a different
> Daniel> signature than all the similar setshow functions.
>
> Ok, in that case, I will go with reordering the lines.
>
> AFAICT add_setshow_optional_filename_cmd does not return the new
> command element, and of course adding this would require changing the
> signature. I'm assuming here that it is not ok to assume that the
> first element of 'showlist' will be the new command.
Right you are. I thought it did.
--
Daniel Jacobowitz
CodeSourcery