aboutsummaryrefslogtreecommitdiff
path: root/gdb/record-full.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:31:57 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:27 -0600
commit41243651350688a9a0f3a3542871d37e7f3c5f20 (patch)
treef66f0166deb380a9fe70b1bf8265cf1579f33430 /gdb/record-full.c
parent4465d9db2f8962640f3799a17851bef3b1be1a33 (diff)
downloadbinutils-41243651350688a9a0f3a3542871d37e7f3c5f20.zip
binutils-41243651350688a9a0f3a3542871d37e7f3c5f20.tar.gz
binutils-41243651350688a9a0f3a3542871d37e7f3c5f20.tar.bz2
Constify cmd_record_full_restore
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * record-full.c (cmd_record_full_restore): Constify.
Diffstat (limited to 'gdb/record-full.c')
-rw-r--r--gdb/record-full.c2
1 files changed, 1 insertions, 1 deletions
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);