From ed6edd9bf279c852f6e1bb9ecb40b47b326e8429 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 15 Mar 2004 21:21:01 +0000 Subject: [PATCH] 2004-03-15 Andrew Cagney * rs6000-tdep.c (rs6000_register_virtual_type): Make registers unsigned. --- gdb/ChangeLog | 5 +++++ gdb/rs6000-tdep.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 53c517e641..ca6506f47f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-03-15 Andrew Cagney + + * rs6000-tdep.c (rs6000_register_virtual_type): Make registers + unsigned. + 2004-03-15 Andrew Cagney * gdbarch.sh (gdbarch_data_pre_init_fytpe) diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 529fb3b00a..7c847ef183 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;