2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>

* rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
        vector registers.
This commit is contained in:
Paul Gilliam 2005-10-14 20:17:11 +00:00
parent ab7c9a26e5
commit 3bf49e1b24
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>
* rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
vector registers.
2005-10-13 Andreas Schwab <schwab@suse.de>
* Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h).

View File

@ -1888,6 +1888,7 @@ rs6000_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
|| (tdep->ppc_ev0_regnum >= 0
&& regnum >= tdep->ppc_ev0_regnum
&& regnum < tdep->ppc_ev0_regnum + 32)
|| regnum == tdep->ppc_vrsave_regnum - 1 /* vscr */
|| regnum == tdep->ppc_vrsave_regnum
|| regnum == tdep->ppc_acc_regnum
|| regnum == tdep->ppc_spefscr_regnum);