From 992f1ddc3be1f5195f18beaa801ac50f284b10c5 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 20 Dec 2016 17:07:19 +0000 Subject: gdb: Constify solib_find gdb/ChangeLog: 2016-12-20 Pedro Alves * 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) : Constify 'soname' parameter. (exec_file_find, solib_find): Constify 'in_pathname' parameter. --- gdb/nto-tdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/nto-tdep.h') 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); -- cgit v1.1