diff options
author | Tom Tromey <tromey@redhat.com> | 2014-07-21 17:05:16 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-07-24 11:30:02 -0600 |
commit | 414842dc7ae1d398fca1bda9a20a89d51b7c2f09 (patch) | |
tree | dffcf695db92fbd89b153f32ec5f0537161c9001 /gdb/solib.c | |
parent | baa336ce7b5d6e56bd52d7493c3f77b0953a7f18 (diff) | |
download | gdb-414842dc7ae1d398fca1bda9a20a89d51b7c2f09.zip gdb-414842dc7ae1d398fca1bda9a20a89d51b7c2f09.tar.gz gdb-414842dc7ae1d398fca1bda9a20a89d51b7c2f09.tar.bz2 |
constify solib_add
This constifies the "pattern" argument to solib_add.
2014-07-24 Tom Tromey <tromey@redhat.com>
* solib.c (solib_add): Make "pattern" const.
* solib.h (solib_add): Update.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index e0afca0..c8f141f 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -900,7 +900,7 @@ libpthread_solib_p (struct so_list *so) FROM_TTY and TARGET are as described for update_solib_list, above. */ void -solib_add (char *pattern, int from_tty, +solib_add (const char *pattern, int from_tty, struct target_ops *target, int readsyms) { struct so_list *gdb; |