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] Constify mi_interpreter_exec and remove dup


On 03/12/2013 11:05 AM, Tom Tromey wrote:
"Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> 2013-03-12 Keith Seitz <keiths@redhat.com> Keith> * mi/mi-cmds.h (mi_execute_command): Make "cmd" const. Keith> * mi/mi-interp.c (mi_interpreter_exec): Make "command" const. Keith> Remove temporary copy of input string. Keith> (mi_execute_command_wrapper): Make "cmd" const. Keith> * mi/mi-main.c (mi_execute_command): Make "string_ptr" const. Keith> (mi_parse_argv): Make "args" const. Keith> Use const strings. Keith> (mi_parse): Make "cmd" const. Keith> Use const strings. Keith> * mi/mi-parse.h (mi_parse): Make "cmd" const.

This is ok. Thanks.

Committed. Thank you for taking a look at this.


Keith


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