diff options
author | Keith Seitz <keiths@redhat.com> | 2013-03-12 18:50:39 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2013-03-12 18:50:39 +0000 |
commit | ee0475543fab82b9ea1348922c2662a8ae172116 (patch) | |
tree | db4e5ad05c7bf02712c91f43bc8acc8a966542f3 /gdb/ChangeLog | |
parent | bbc13ae3db19a3276ba029c838682f81d10f859a (diff) | |
download | gdb-ee0475543fab82b9ea1348922c2662a8ae172116.zip gdb-ee0475543fab82b9ea1348922c2662a8ae172116.tar.gz gdb-ee0475543fab82b9ea1348922c2662a8ae172116.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 092d6ef..19e12a7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,18 @@ 2013-03-12 Keith Seitz <keiths@redhat.com> + * 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. + +2013-03-12 Keith Seitz <keiths@redhat.com> + * ada-lang.c (ada_read_renaming_var_value): Pass const pointer to expression string to parse_exp_1. (create_excep_cond_exprs): Likewise. |