summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-12-20 17:07:19 +0000
committerPedro Alves <palves@redhat.com>2016-12-20 17:07:19 +0000
commit992f1ddc3be1f5195f18beaa801ac50f284b10c5 (patch)
treee2f66588b82457a9f1066212766f920b6e0db65a /gdb/nto-tdep.h
parent2693a26216c329bd7ec2aae7743409f572de4fa5 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h
index 81ed50cb17..06a1f9ab1b 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);