From 41243651350688a9a0f3a3542871d37e7f3c5f20 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 9 Sep 2017 21:31:57 -0600 Subject: Constify cmd_record_full_restore gdb/ChangeLog 2017-09-27 Tom Tromey * record-full.c (cmd_record_full_restore): Constify. --- gdb/ChangeLog | 4 ++++ gdb/record-full.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') 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); -- cgit v1.2.1