2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>
authorPaul Gilliam <pgilliam@us.ibm.com>
Fri, 14 Oct 2005 20:17:11 +0000 (20:17 +0000)
committerPaul Gilliam <pgilliam@us.ibm.com>
Fri, 14 Oct 2005 20:17:11 +0000 (20:17 +0000)
        * rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
        vector registers.

gdb/ChangeLog
gdb/rs6000-tdep.c

index b02727d9bc57e9b0dfccc5043a4e5f6f4008a6ce..0702a657a29876cea4d76072e73891c5f79b6000 100644 (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).
index 4d2a94480c833533671c61002ceac35544758ee2..f6459c72117eeb7845faa3e49eec3d850f251a34 100644 (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);