Constify cmd_record_full_restore
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 03:31:57 +0000 (21:31 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:27 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* record-full.c (cmd_record_full_restore): Constify.

gdb/ChangeLog
gdb/record-full.c

index 1d8c44c..3cae1f6 100644 (file)
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+       * record-full.c (cmd_record_full_restore): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
        * memattr.c (enable_mem_command, disable_mem_command)
        (delete_mem_command): Constify.
 
index 93c43a1..5073be3 100644 (file)
@@ -2533,7 +2533,7 @@ bfdcore_write (bfd *obfd, asection *osec, void *buf, int len, int *offset)
    corefile format, with an extra section for our data.  */
 
 static void
-cmd_record_full_restore (char *args, int from_tty)
+cmd_record_full_restore (const char *args, int from_tty)
 {
   core_file_command (args, from_tty);
   record_full_open (args, from_tty);