]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/corefile.c
-Wwrite-strings: The Rest
[thirdparty/binutils-gdb.git] / gdb / corefile.c
index 54cb789d797566af5c02f2f367bb2474b3d3c491..13a90b967fe9ad97126e635fc1e915952fd573f2 100644 (file)
@@ -509,7 +509,7 @@ complete_set_gnutarget (struct cmd_list_element *cmd,
 
 /* Set the gnutarget.  */
 void
-set_gnutarget (char *newtarget)
+set_gnutarget (const char *newtarget)
 {
   if (gnutarget_string != NULL)
     xfree (gnutarget_string);