From e0b2930cdc0153d871f80ad728d6e3fa90324b5e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 12 Sep 2017 21:13:03 -0600 Subject: [PATCH] Constify unset_exec_wrapper_command gdb/ChangeLog 2017-09-27 Tom Tromey * fork-child.c (unset_exec_wrapper_command): Constify. --- gdb/ChangeLog | 4 ++++ gdb/fork-child.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d75a92158f0..15f20b9b998 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * fork-child.c (unset_exec_wrapper_command): Constify. + 2017-09-27 Tom Tromey * btrace.c (get_uint, get_context_size, no_chunk) diff --git a/gdb/fork-child.c b/gdb/fork-child.c index 194aab57cac..eb884a7d09e 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -144,7 +144,7 @@ gdb_startup_inferior (pid_t pid, int num_traps) /* Implement the "unset exec-wrapper" command. */ static void -unset_exec_wrapper_command (char *args, int from_tty) +unset_exec_wrapper_command (const char *args, int from_tty) { xfree (exec_wrapper); exec_wrapper = NULL; -- 2.30.2