From 93db0d79de0c2676edffb8e36109ca3f6faa822b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 21 Jul 2014 16:20:24 -0600 Subject: constify cli-dump.c This does some minor constification in cli-dump.c. 2014-07-24 Tom Tromey * 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. --- gdb/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gdb/ChangeLog') 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 + + * 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 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. -- cgit v1.1