aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r--gdb/gcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 69e5eb9..0d5dcca 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -141,7 +141,7 @@ write_gcore_file (bfd *obfd)
Generate a core file from the inferior process. */
static void
-gcore_command (char *args, int from_tty)
+gcore_command (const char *args, int from_tty)
{
gdb::unique_xmalloc_ptr<char> corefilename;