[RFA,50/67] Constify unset_exec_wrapper_command
Commit Message
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* fork-child.c (unset_exec_wrapper_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/fork-child.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
@@ -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;