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'


>>>>> "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.

Tom


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