summaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.c
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2013-04-08 14:03:56 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2013-04-08 14:03:56 +0000
commitf65ce5fb99ce664302abe4af1263fdbb0518d069 (patch)
tree157451eefe2510ced39468134dbef954f8e82088 /gdb/solib-svr4.c
parent94dcf8bfcd6371c85215000dbaef2cac026faf9d (diff)
downloadbinutils-gdb-f65ce5fb99ce664302abe4af1263fdbb0518d069.tar.gz
Add const to lm_addr_check.
* solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r--gdb/solib-svr4.c2
1 files changed, 1 insertions, 1 deletions
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)
{