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: [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 (齐尧)


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