2008-01-30 Luis Machado <luisgpm@br.ibm.com>
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Thu, 31 Jan 2008 13:37:21 +0000 (13:37 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Thu, 31 Jan 2008 13:37:21 +0000 (13:37 +0000)
commitf949c6497febc6533d416884b0c3bbf66c2f4fc2
treea4b578e2e72b64a888aec9d973a4bccd78812bf6
parent5a9e69ba86c842a7e4713ac27bb6fac1c6121006
2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* infcmd.c (default_print_registers_info): Also print hex
raw contents for TYPE_CODE_DECFLOAT registers.
* ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
* rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
(rs6000_register_name): Add support for DFP pseudo-registers.
(rs6000_pseudo_register_type): Likewise.
rs6000_pseudo_register_reggroup_p): Likewise.
(ppc_pseudo_register_read): New function.
(ppc_pseudo_register_write): Likewise.
(rs6000_pseudo_register_read): Likewise.
(rs6000_pseudo_register_write): Likewise.
(e500_pseudo_register_read): Move checks to
rs6000_pseudo_register_read.
(e500_pseudo_register_write): Move checks to
rs6000_pseudo_register_write.
(rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
rs6000_pseudo_register_read and rs6000_pseudo_register_write
in gdbarch if SPE or DFP is available.  Adjust gdbarch's
num_pseudo_regs to account for DFP pseudo regs.
gdb/ChangeLog
gdb/infcmd.c
gdb/ppc-tdep.h
gdb/rs6000-tdep.c