mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 03:24:41 +08:00
2004-03-15 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_register_virtual_type): Make registers unsigned.
This commit is contained in:
parent
030f20e19e
commit
ed6edd9bf2
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user