diff options
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 |