From: Aleksandar Ristovski Date: Mon, 8 Apr 2013 14:03:56 +0000 (+0000) Subject: Add const to lm_addr_check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f65ce5fb99ce664302abe4af1263fdbb0518d069;p=binutils-gdb.git Add const to lm_addr_check. * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7e50ba13fa5..81e4e85f1e2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-04-08 Aleksandar Ristovski * remote.c (remote_trace_find): Change type of parameters 'addr1' diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 601e34daa90..bb2a4e9d5aa 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -189,7 +189,7 @@ has_lm_dynamic_from_link_map (void) } static CORE_ADDR -lm_addr_check (struct so_list *so, bfd *abfd) +lm_addr_check (const struct so_list *so, bfd *abfd) { if (!so->lm_info->l_addr_p) {