2004-03-15 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 15 Mar 2004 21:21:01 +0000 (21:21 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 15 Mar 2004 21:21:01 +0000 (21:21 +0000)
* rs6000-tdep.c (rs6000_register_virtual_type): Make registers
unsigned.

gdb/ChangeLog
gdb/rs6000-tdep.c

index 53c517e641ee6354af8bef1fec8b0bdcf0059e3e..ca6506f47f5e3eedbd92f083e6f7e54648172646 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-15  Andrew Cagney  <cagney@redhat.com>
+
+       * rs6000-tdep.c (rs6000_register_virtual_type): Make registers
+       unsigned.
+
 2004-03-15  Andrew Cagney  <cagney@redhat.com>
 
        * gdbarch.sh (gdbarch_data_pre_init_fytpe)
index 529fb3b00a8ca76d3dcbee1a32c599ec47af0c30..7c847ef18308757f41eb75626382af079d7d1800 100644 (file)
@@ -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;