From: Tom Tromey Date: Sun, 10 Sep 2017 03:32:11 +0000 (-0600) Subject: Constify interpreter_exec_cmd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1970a12f32f788f22b641737e846350e1ff9dd04;p=binutils-gdb.git Constify interpreter_exec_cmd gdb/ChangeLog 2017-09-27 Tom Tromey * interps.c (interpreter_exec_cmd): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3cae1f63731..76831c15b43 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * interps.c (interpreter_exec_cmd): Constify. + 2017-09-27 Tom Tromey * record-full.c (cmd_record_full_restore): Constify. diff --git a/gdb/interps.c b/gdb/interps.c index 63a123042e2..1e89a991ca9 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -401,7 +401,7 @@ clear_interpreter_hooks (void) } static void -interpreter_exec_cmd (char *args, int from_tty) +interpreter_exec_cmd (const char *args, int from_tty) { struct ui_interp_info *ui_interp = get_current_interp_info (); struct interp *old_interp, *interp_to_use;