diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2013-04-08 14:03:56 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2013-04-08 14:03:56 +0000 |
commit | f65ce5fb99ce664302abe4af1263fdbb0518d069 (patch) | |
tree | 157451eefe2510ced39468134dbef954f8e82088 | |
parent | 94dcf8bfcd6371c85215000dbaef2cac026faf9d (diff) | |
download | gdb-f65ce5fb99ce664302abe4af1263fdbb0518d069.zip gdb-f65ce5fb99ce664302abe4af1263fdbb0518d069.tar.gz gdb-f65ce5fb99ce664302abe4af1263fdbb0518d069.tar.bz2 |
Add const to lm_addr_check.
* solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/solib-svr4.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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' 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) { |