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.h | |
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.h')
-rw-r--r-- | gdb/nto-tdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h index 81ed50c..06a1f9a 100644 --- a/gdb/nto-tdep.h +++ b/gdb/nto-tdep.h @@ -164,7 +164,7 @@ void nto_relocate_section_addresses (struct so_list *, int nto_map_arch_to_cputype (const char *); -int nto_find_and_open_solib (char *, unsigned, char **); +int nto_find_and_open_solib (const char *, unsigned, char **); enum gdb_osabi nto_elf_osabi_sniffer (bfd *abfd); |