From f65ce5fb99ce664302abe4af1263fdbb0518d069 Mon Sep 17 00:00:00 2001 From: Aleksandar Ristovski Date: Mon, 8 Apr 2013 14:03:56 +0000 Subject: [PATCH] Add const to lm_addr_check. * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg. --- gdb/ChangeLog | 4 ++++ gdb/solib-svr4.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7e50ba13fa..81e4e85f1e 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 601e34daa9..bb2a4e9d5a 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) { -- 2.34.1