OSDN Git Service

2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>
authorpgilliam <pgilliam>
Fri, 14 Oct 2005 20:17:11 +0000 (20:17 +0000)
committerpgilliam <pgilliam>
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 b02727d..0702a65 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 4d2a944..f6459c7 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);