]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 1d8c44ce08848025d92dde93748aeaf6cf2cbd9c..3cae1f63731372ece3d30dcca8f002b63bcfec53 100644 (file)
@@ -1,3 +1,7 @@
+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)
index 93c43a1367dc99429f0844ef4cb94ff35ae2d6a5..5073be3c5b7a329b9685008fadfb7762ce79514c 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);