diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-01 23:00:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-01 23:00:55 +0000 |
commit | ae0167b9b50e8b9e40d1591c6871edf26b79faf3 (patch) | |
tree | 9cd77a7aa8fa4cc9074074a52084482bc735b45a /gdb/solib-irix.c | |
parent | 1fd4ae226388e78eba387080d1bb8b13fa08fb93 (diff) | |
download | gdb-ae0167b9b50e8b9e40d1591c6871edf26b79faf3.zip gdb-ae0167b9b50e8b9e40d1591c6871edf26b79faf3.tar.gz gdb-ae0167b9b50e8b9e40d1591c6871edf26b79faf3.tar.bz2 |
2003-06-01 Andrew Cagney <cagney@redhat.com>
* solib-irix.c (extract_mips_address): Inline extract_address,
replacing it with extract_signed_integer.
* solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto.
(LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto.
(first_link_map_member, open_symbol_file_object): Ditto.
(svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto.
* solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto.
(LM_NEXT, LM_NAME): Ditto.
Diffstat (limited to 'gdb/solib-irix.c')
-rw-r--r-- | gdb/solib-irix.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c index 26a776f..8400ad3 100644 --- a/gdb/solib-irix.c +++ b/gdb/solib-irix.c @@ -123,16 +123,12 @@ union irix_obj_info /* MIPS sign extends its 32 bit addresses. We could conceivably use extract_typed_address here, but to do so, we'd have to construct an - appropriate type. Calling extract_signed_integer or - extract_address seems simpler. */ + appropriate type. Calling extract_signed_integer seems simpler. */ static CORE_ADDR extract_mips_address (void *addr, int len) { - if (len <= 32) - return extract_signed_integer (addr, len); - else - return extract_address (addr, len); + return extract_signed_integer (addr, len); } /* Fetch and return the link map data associated with ADDR. Note that |