[RFA 17/67] Constify cmd_record_full_restore
Tom Tromey
tom@tromey.com
Thu Sep 21 05:17:00 GMT 2017
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* record-full.c (cmd_record_full_restore): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/record-full.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/record-full.c b/gdb/record-full.c
index 93c43a1..5073be3 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);
--
2.9.4
More information about the Gdb-patches
mailing list