diff options
author | Tom Tromey <tromey@redhat.com> | 2014-07-21 16:49:09 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-07-24 11:30:02 -0600 |
commit | 0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb (patch) | |
tree | 4cf74360b616b4552a9ffad698137cf43e1a7701 /gdb/inf-child.c | |
parent | 41c77899672db7a30d09d2e68524f0eb3faf937b (diff) | |
download | gdb-0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb.zip gdb-0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb.tar.gz gdb-0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb.tar.bz2 |
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.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 897e635..883ed77 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); |