diff options
author | Martin Hunt <hunt@redhat.com> | 2001-02-20 18:05:19 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2001-02-20 18:05:19 +0000 |
commit | 58bc91c9c3941cbd51b66f24243ee55b26ee7d41 (patch) | |
tree | 46d4641cd223e134cf1df5b82bc19b3a5444b219 /gdb | |
parent | 291b7e049dad84ac700072aa7cf269fbe69f1b90 (diff) | |
download | binutils-58bc91c9c3941cbd51b66f24243ee55b26ee7d41.zip binutils-58bc91c9c3941cbd51b66f24243ee55b26ee7d41.tar.gz binutils-58bc91c9c3941cbd51b66f24243ee55b26ee7d41.tar.bz2 |
2001-02-20 Martin M. Hunt <hunt@redhat.com>
* solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
extract_signed_integer() should be called instead of
extract_address().
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/solib-svr4.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aabef83..57f8449 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2001-02-20 Martin M. Hunt <hunt@redhat.com> + * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so + extract_signed_integer() should be called instead of + extract_address(). + +2001-02-20 Martin M. Hunt <hunt@redhat.com> + * MAINTAINERS: Add Martin Hunt to Write After Approval list. 2001-02-19 Andrew Cagney <ac131313@redhat.com> diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 5c3938b..07cd2d0 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -249,7 +249,8 @@ LM_ADDR (struct so_list *so) { struct link_map_offsets *lmo = SVR4_FETCH_LINK_MAP_OFFSETS (); - return extract_address (so->lm_info->lm + lmo->l_addr_offset, lmo->l_addr_size); + return (CORE_ADDR) extract_signed_integer (so->lm_info->lm + lmo->l_addr_offset, + lmo->l_addr_size); } static CORE_ADDR |