constify cli-dump.c
authorTom Tromey <tromey@redhat.com>
Mon, 21 Jul 2014 22:20:24 +0000 (16:20 -0600)
committerTom Tromey <tromey@redhat.com>
Thu, 24 Jul 2014 17:30:01 +0000 (11:30 -0600)
commit93db0d79de0c2676edffb8e36109ca3f6faa822b
treeffd1fd1d12b51b309269e6ca77373e60c244cdce
parent36d6eb95c1de72b1c5703c5204124abe589d34b1
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.
gdb/ChangeLog
gdb/cli/cli-dump.c