aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbcore.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:25:44 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:25 -0600
commitd64097b17c88ae18781ecce59d1b265b41e9551a (patch)
tree09cac3e6f29537bcba740a7a938577db8ab90812 /gdb/gdbcore.h
parent4d4589ef76b975eead8da6bfa65db4a9dc85089a (diff)
downloadbinutils-d64097b17c88ae18781ecce59d1b265b41e9551a.zip
binutils-d64097b17c88ae18781ecce59d1b265b41e9551a.tar.gz
binutils-d64097b17c88ae18781ecce59d1b265b41e9551a.tar.bz2
Constify core_file_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * gdbcore.h (core_file_command): Update. * corefile.c (core_file_command): Constify.
Diffstat (limited to 'gdb/gdbcore.h')
-rw-r--r--gdb/gdbcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h
index 5d4e36e..7554245 100644
--- a/gdb/gdbcore.h
+++ b/gdb/gdbcore.h
@@ -141,7 +141,7 @@ extern struct target_ops *core_target;
extern int write_files;
-extern void core_file_command (char *filename, int from_tty);
+extern void core_file_command (const char *filename, int from_tty);
extern void exec_file_attach (const char *filename, int from_tty);