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
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.
As you said in cover letter, breakpoint.c:stop_command needs update as
well. You can pull the stop_command change in this patch, and it looks
good to me.
--
Yao (齐尧)