Add const to lm_addr_check.
authorAleksandar Ristovski <aristovski@qnx.com>
Mon, 8 Apr 2013 14:03:56 +0000 (14:03 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Mon, 8 Apr 2013 14:03:56 +0000 (14:03 +0000)
* solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.

gdb/ChangeLog
gdb/solib-svr4.c

index 7e50ba13fa5f8eead2f30ff3dc904ea6b2f2da03..81e4e85f1e2a7ce737721c2b4e057ac082e71208 100644 (file)
@@ -1,3 +1,7 @@
+2013-04-08  Aleksandar Ristovski  <aristovski@qnx.com
+
+       * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.
+
 2013-04-07  Yao Qi  <yao@codesourcery.com>
 
        * remote.c (remote_trace_find): Change type of parameters 'addr1'
index 601e34daa900a92780fa189b5ff15d019cf8b2a5..bb2a4e9d5aa22118cca1d62b30da86d30c1ff40d 100644 (file)
@@ -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)
     {