gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-cmds.h (cd_command): Constify.
* cli/cli-cmds.c (cd_command): Constify.
+2017-09-27 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-cmds.h (cd_command): Constify.
+ * cli/cli-cmds.c (cd_command): Constify.
+
2017-09-27 Tom Tromey <tom@tromey.com>
* thread.c (thread_name_command, thread_find_command): Constify.
}
void
-cd_command (char *dir, int from_tty)
+cd_command (const char *dir, int from_tty)
{
int len;
/* Found something other than leading repetitions of "/..". */
/* Exported to gdb/main.c */
-extern void cd_command (char *, int);
+extern void cd_command (const char *, int);
/* Exported to gdb/top.c and gdb/main.c */