aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-15 21:21:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-15 21:21:01 +0000
commited6edd9bf279c852f6e1bb9ecb40b47b326e8429 (patch)
tree711916ff6f2523a5f1956c0fe01642ce849dc8fc /gdb/rs6000-tdep.c
parent030f20e19e7c5d2d8d26030c83cc2387a9e04c1d (diff)
downloadgdb-ed6edd9bf279c852f6e1bb9ecb40b47b326e8429.zip
gdb-ed6edd9bf279c852f6e1bb9ecb40b47b326e8429.tar.gz
gdb-ed6edd9bf279c852f6e1bb9ecb40b47b326e8429.tar.bz2
2004-03-15 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_register_virtual_type): Make registers unsigned.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 529fb3b..7c847ef 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -1862,12 +1862,12 @@ rs6000_register_virtual_type (int n)
case 0:
return builtin_type_int0;
case 4:
- return builtin_type_int32;
+ return builtin_type_uint32;
case 8:
if (tdep->ppc_ev0_regnum <= n && n <= tdep->ppc_ev31_regnum)
return builtin_type_vec64;
else
- return builtin_type_int64;
+ return builtin_type_uint64;
break;
case 16:
return builtin_type_vec128;