2001-12-29 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Sun, 30 Dec 2001 00:14:50 +0000 (00:14 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Sun, 30 Dec 2001 00:14:50 +0000 (00:14 +0000)
commit1fcc0bb8b2a268d3dbbb110723e86717d28775b4
tree2d6756b7f0d635ab0139c376a5cc015fe900dce2
parentd474c9844fa3e06f704d77e13527bf7468c80378
2001-12-29  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h.

* rs6000-tdep.c: Include parser-defs.h.
(rs6000_register_virtual_type): Rewrite, including handling of
AltiVec regs type.
(altivec_register_p): New function.
(rs6000_do_altivec_registers): New function.
(rs6000_altivec_registers_info): New function.
(rs6000_do_registers_info): New function.
(R16): Define.
(PPC_ALTIVEC_REGS): Define.
(registers_powerpc): Add AltiVec registers.
(registers_7400): Define.
(variants): Add 7400 machine.
(rs6000_gdbarch_init): Set the numbers of AltiVec registers.
Initialize gdbarch_do)_registers_info.
(rs6000_info_power_command): New function.
(info_power_cmdlist): New static variable.
(_initialize_rs6000_tdep): Add new 'info powerpc altivec' command.

* ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields.
(altivec_register_p): Export.
gdb/ChangeLog
gdb/Makefile.in
gdb/ppc-tdep.h
gdb/rs6000-tdep.c