From: Tom Tromey Date: Sun, 10 Sep 2017 03:31:57 +0000 (-0600) Subject: Constify cmd_record_full_restore X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41243651350688a9a0f3a3542871d37e7f3c5f20;p=binutils-gdb.git Constify cmd_record_full_restore gdb/ChangeLog 2017-09-27 Tom Tromey * record-full.c (cmd_record_full_restore): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1d8c44ce088..3cae1f63731 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * record-full.c (cmd_record_full_restore): Constify. + 2017-09-27 Tom Tromey * memattr.c (enable_mem_command, disable_mem_command) diff --git a/gdb/record-full.c b/gdb/record-full.c index 93c43a1367d..5073be3c5b7 100644 --- a/gdb/record-full.c +++ b/gdb/record-full.c @@ -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);