From: Aleksandar Ristovski Date: Mon, 8 Apr 2013 14:03:56 +0000 (+0000) Subject: Add const to lm_addr_check. X-Git-Tag: cygwin-64bit-premerge~173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f65ce5fb99ce664302abe4af1263fdbb0518d069;p=external%2Fbinutils.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 7e50ba1..81e4e85 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 601e34d..bb2a4e9 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) {