summaryrefslogtreecommitdiff
path: root/gdb/solib-irix.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-06-13 23:03:59 +0000
committerJim Blandy <jimb@codesourcery.com>2003-06-13 23:03:59 +0000
commit830ba71c0b627f0db2a0a655d207e0984fbf21c5 (patch)
tree3c23d5ec74738c1f5cf08d133c86b23e844d09b6 /gdb/solib-irix.c
parent02660e8c4bd2ee15517d33712a0cd632e521a066 (diff)
downloadgdb-830ba71c0b627f0db2a0a655d207e0984fbf21c5.tar.gz
* ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
(ppc64_standard_linkage_target): Use it.
Diffstat (limited to 'gdb/solib-irix.c')
-rw-r--r--gdb/solib-irix.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c
index 26a776ff283..8400ad3a006 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