gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-logging.c (set_logging_on, set_logging_off): Constify.
+2017-09-27 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-logging.c (set_logging_on, set_logging_off): Constify.
+
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-script.c (user_defined_command): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-script.c (user_defined_command): Constify.
-set_logging_on (char *args, int from_tty)
+set_logging_on (const char *args, int from_tty)
+ const char *rest = args;
-set_logging_off (char *args, int from_tty)
+set_logging_off (const char *args, int from_tty)
{
if (saved_filename == NULL)
return;
{
if (saved_filename == NULL)
return;