* mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
authorKeith Seitz <keiths@redhat.com>
Tue, 12 Mar 2013 18:50:39 +0000 (18:50 +0000)
committerKeith Seitz <keiths@redhat.com>
Tue, 12 Mar 2013 18:50:39 +0000 (18:50 +0000)
commitee0475543fab82b9ea1348922c2662a8ae172116
treedb4e5ad05c7bf02712c91f43bc8acc8a966542f3
parentbbc13ae3db19a3276ba029c838682f81d10f859a
* mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
* mi/mi-interp.c (mi_interpreter_exec): Make "command" const.
Remove temporary copy of input string.
(mi_execute_command_wrapper): Make "cmd" const.
* mi/mi-main.c (mi_execute_command): Make "string_ptr" const.
* mi/mi-parse.c (mi_parse_argv): Make "args" const.
Use const strings.
(mi_parse): Make "cmd" const.
Use const strings.
* mi/mi-parse.h (mi_parse): Make "cmd" const.
gdb/ChangeLog
gdb/mi/mi-cmds.h
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/mi/mi-parse.c
gdb/mi/mi-parse.h