From 3bf49e1b2435a7e368050b61438208ce609dae9b Mon Sep 17 00:00:00 2001 From: Paul Gilliam Date: Fri, 14 Oct 2005 20:17:11 +0000 Subject: [PATCH] 2005-10-14 Paul Gilliam * rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for vector registers. --- gdb/ChangeLog | 5 +++++ gdb/rs6000-tdep.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b02727d9bc5..0702a657a29 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2005-10-14 Paul Gilliam + + * rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for + vector registers. + 2005-10-13 Andreas Schwab * Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h). diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 4d2a94480c8..f6459c72117 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -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); -- 2.30.2