This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 01/67] Add add_cmd function overloads
>>>>> "Markus" == Metzger, Markus T <markus.t.metzger@intel.com> writes:
>> static void
>> +do_const_cfunc (struct cmd_list_element *c, char *args, int from_tty)
>> +{
>> + c->function.const_cfunc (args, from_tty); /* Ok. */
>> +}
Markus> Ok.?
This is copy-and-paste from the other function like this.
I think this is some way to suppress ARI warnings.
I don't know if ARI is still used...?
Markus> We shouldn't really have the NULL case, anymore. It is still possible
Markus> but I don't expect it to be used. Should we assert CFUNC != NULL?
I did this.
Tom