2002-08-20 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 20 Aug 2002 22:24:29 +0000 (22:24 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 20 Aug 2002 22:24:29 +0000 (22:24 +0000)
commitc8001721f331445b9f9139facc8f742491868b18
treefe7ff541eee9ed31ffe90cd4fd6669799181c938
parent64366f1caf5ba416573c932df1fa6b7d7285bf9b
2002-08-20  Elena Zannoni  <ezannoni@redhat.com>

* ppc-tdep.h (struct gdbarch_tdep): Add ev registers.

* rs6000-tdep.c (rs6000_register_virtual_type): Return 64 bit
vector type for ev registers.
(e500_pseudo_register_read): New function.
(e500_pseudo_register_write): New function.
(e500_dwarf2_reg_to_regnum): New function.
(PPC_UISA_NOFP_SPRS): New macro.
(PPC_EV_REGS): New macro.
(PPC_GPRS_PSEUDO_REGS): New macro.
(registers_e500): New register set for e500.
(variants): Add e500 variant.
(rs6000_gdbarch_init): Move setting of pc, sp, fp regnums to
before setting architectural dependent variations.  Initialize ev
registers numbers.  Add case for e500 architecture.  Set the
number of pseudo registers.
gdb/ChangeLog
gdb/ppc-tdep.h
gdb/rs6000-tdep.c