]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gcore.c
Constify add_com
[thirdparty/binutils-gdb.git] / gdb / gcore.c
index 69e5eb9575e433b5450c7e6478e91638b45e1a43..0d5dccab619fd6572475b6d02f2de81cf61b98da 100644 (file)
@@ -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;