diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-09 21:32:11 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:28 -0600 |
commit | 1970a12f32f788f22b641737e846350e1ff9dd04 (patch) | |
tree | 5dc76dca155d83ad66b87f109db0198f9ba7f02a | |
parent | 41243651350688a9a0f3a3542871d37e7f3c5f20 (diff) | |
download | gdb-1970a12f32f788f22b641737e846350e1ff9dd04.zip gdb-1970a12f32f788f22b641737e846350e1ff9dd04.tar.gz gdb-1970a12f32f788f22b641737e846350e1ff9dd04.tar.bz2 |
Constify interpreter_exec_cmd
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* interps.c (interpreter_exec_cmd): Constify.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/interps.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3cae1f6..76831c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-09-27 Tom Tromey <tom@tromey.com> + * interps.c (interpreter_exec_cmd): Constify. + +2017-09-27 Tom Tromey <tom@tromey.com> + * record-full.c (cmd_record_full_restore): Constify. 2017-09-27 Tom Tromey <tom@tromey.com> diff --git a/gdb/interps.c b/gdb/interps.c index 63a1230..1e89a99 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; |