diff options
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r-- | gdb/inf-child.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c index 897e6359724..883ed775ead 100644 --- a/gdb/inf-child.c +++ b/gdb/inf-child.c @@ -122,7 +122,8 @@ static int inf_child_explicitly_opened; /* See inf-child.h. */ void -inf_child_open_target (struct target_ops *target, char *arg, int from_tty) +inf_child_open_target (struct target_ops *target, const char *arg, + int from_tty) { target_preopen (from_tty); push_target (target); |