diff options
author | Tom Tromey <tromey@redhat.com> | 2014-07-21 16:20:24 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-07-24 11:30:01 -0600 |
commit | 93db0d79de0c2676edffb8e36109ca3f6faa822b (patch) | |
tree | ffd1fd1d12b51b309269e6ca77373e60c244cdce /gdb/ChangeLog | |
parent | 36d6eb95c1de72b1c5703c5204124abe589d34b1 (diff) | |
download | fsf-binutils-gdb-93db0d79de0c2676edffb8e36109ca3f6faa822b.zip fsf-binutils-gdb-93db0d79de0c2676edffb8e36109ca3f6faa822b.tar.gz fsf-binutils-gdb-93db0d79de0c2676edffb8e36109ca3f6faa822b.tar.bz2 |
constify cli-dump.c
This does some minor constification in cli-dump.c.
2014-07-24 Tom Tromey <tromey@redhat.com>
* cli/cli-dump.c (scan_expression_with_cleanup): Return const.
Make "cmd" const.
(scan_filename_with_cleanup): Likewise.
(dump_memory_to_file, dump_value_to_file, restore_binary_file):
Make arguments const.
(restore_command): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1c4ccaf..959600d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2014-07-24 Tom Tromey <tromey@redhat.com> + + * cli/cli-dump.c (scan_expression_with_cleanup): Return const. + Make "cmd" const. + (scan_filename_with_cleanup): Likewise. + (dump_memory_to_file, dump_value_to_file, restore_binary_file): + Make arguments const. + (restore_command): Update. + 2014-07-24 Pedro Alves <palves@redhat.com> * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. |