From: Martin Hunt Date: Tue, 20 Feb 2001 18:05:19 +0000 (+0000) Subject: 2001-02-20 Martin M. Hunt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58bc91c9c3941cbd51b66f24243ee55b26ee7d41;p=binutils-gdb.git 2001-02-20 Martin M. Hunt * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so extract_signed_integer() should be called instead of extract_address(). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aabef8366b5..57f844968fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2001-02-20 Martin M. Hunt + * 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 + * MAINTAINERS: Add Martin Hunt to Write After Approval list. 2001-02-19 Andrew Cagney diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 5c3938bacc2..07cd2d0d9ef 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