aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>1996-11-12 23:33:32 +0000
committerJim Wilson <wilson@tuliptree.org>1996-11-12 23:33:32 +0000
commit119dfbb7c16c594e26b4745e5efaf836b48d8c1b (patch)
tree5419bf9c17f940431f9c133e1d977c1720324c0c /gdb/alpha-tdep.c
parentcf13e3fc30bee23f8c794c0dcd7924733e2e1d3e (diff)
downloadgdb-119dfbb7c16c594e26b4745e5efaf836b48d8c1b.zip
gdb-119dfbb7c16c594e26b4745e5efaf836b48d8c1b.tar.gz
gdb-119dfbb7c16c594e26b4745e5efaf836b48d8c1b.tar.bz2
Patches to add Irix6 host support.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index e07d75a..b19d85f 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -1253,7 +1253,7 @@ alpha_register_convert_to_virtual (regnum, valtype, raw_buffer, virtual_buffer)
}
else if (TYPE_CODE (valtype) == TYPE_CODE_INT && TYPE_LENGTH (valtype) <= 4)
{
- unsigned LONGEST l;
+ ULONGEST l;
l = extract_unsigned_integer (raw_buffer, REGISTER_RAW_SIZE (regnum));
l = ((l >> 32) & 0xc0000000) | ((l >> 29) & 0x3fffffff);
store_unsigned_integer (virtual_buffer, TYPE_LENGTH (valtype), l);
@@ -1282,7 +1282,7 @@ alpha_register_convert_to_raw (valtype, regnum, virtual_buffer, raw_buffer)
}
else if (TYPE_CODE (valtype) == TYPE_CODE_INT && TYPE_LENGTH (valtype) <= 4)
{
- unsigned LONGEST l;
+ ULONGEST l;
if (TYPE_UNSIGNED (valtype))
l = extract_unsigned_integer (virtual_buffer, TYPE_LENGTH (valtype));
else