This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 1/8] Constify add_abbrev_prefix_cmd
>>>>> "Yao" == Yao Qi <qiyaoltc@gmail.com> writes:
Yao> Tom Tromey <tom@tromey.com> writes:
>> This changes add_abbrev_prefix_cmd to take a const-taking callback
>> function and then fixes the one caller.
>>
>> gdb/ChangeLog
>> 2017-10-13 Tom Tromey <tom@tromey.com>
>>
>> * breakpoint.c (stop_command): Constify.
>> * cli/cli-decode.c (struct cmd_list_element): Constify.
>> * command.h (add_abbrev_prefix_cmd): Constify.
Yao> As you said in cover letter, breakpoint.c:stop_command needs update as
Yao> well. You can pull the stop_command change in this patch, and it looks
Yao> good to me.
I'm sorry -- I don't understand what I ought to do here.
I think this patch does include a change to stop_command.
Tom