diff options
author | Pedro Alves <palves@redhat.com> | 2016-12-20 17:07:19 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-12-20 17:07:19 +0000 |
commit | 992f1ddc3be1f5195f18beaa801ac50f284b10c5 (patch) | |
tree | e2f66588b82457a9f1066212766f920b6e0db65a /gdb/nto-tdep.c | |
parent | 2693a26216c329bd7ec2aae7743409f572de4fa5 (diff) | |
download | gdb-992f1ddc3be1f5195f18beaa801ac50f284b10c5.zip gdb-992f1ddc3be1f5195f18beaa801ac50f284b10c5.tar.gz gdb-992f1ddc3be1f5195f18beaa801ac50f284b10c5.tar.bz2 |
gdb: Constify solib_find
gdb/ChangeLog:
2016-12-20 Pedro Alves <palves@redhat.com>
* nto-tdep.c (nto_find_and_open_solib): Constify 'solib'
parameter.
* nto-tdep.h (nto_find_and_open_solib): Constify 'solib'
parameter.
* solib.c (solib_find_1, exec_file_find, solib_find): Constify
in_pathname' parameter.
* solist.h (struct target_so_ops) <find_and_open_solib>: Constify
'soname' parameter.
(exec_file_find, solib_find): Constify 'in_pathname' parameter.
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r-- | gdb/nto-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 47d8a2b..1b18de1 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -87,7 +87,8 @@ nto_map_arch_to_cputype (const char *arch) } int -nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname) +nto_find_and_open_solib (const char *solib, unsigned o_flags, + char **temp_pathname) { char *buf, *arch_path, *nto_root; const char *endian; |