aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-07-21 16:49:09 -0600
committerTom Tromey <tromey@redhat.com>2014-07-24 11:30:02 -0600
commit0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb (patch)
tree4cf74360b616b4552a9ffad698137cf43e1a7701 /gdb/inf-child.h
parent41c77899672db7a30d09d2e68524f0eb3faf937b (diff)
constify inf_child_open_target
This constifies an argument to inf_child_open_target. 2014-07-24 Tom Tromey <tromey@redhat.com> * inf-child.c (inf_child_open_target): Make "arg" const. * inf-child.h (inf_child_open_target): Update.
Diffstat (limited to 'gdb/inf-child.h')
-rw-r--r--gdb/inf-child.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-child.h b/gdb/inf-child.h
index b2692cabe5..163cab6303 100644
--- a/gdb/inf-child.h
+++ b/gdb/inf-child.h
@@ -34,7 +34,7 @@ extern void store_waitstatus (struct target_waitstatus *, int);
the target, in case it need to override to_open. */
extern void inf_child_open_target (struct target_ops *target,
- char *arg, int from_tty);
+ const char *arg, int from_tty);
/* To be called by the native target's to_mourn_inferior routine. */