diff options
author | Paul Gilliam <pgilliam@us.ibm.com> | 2005-10-14 20:17:11 +0000 |
---|---|---|
committer | Paul Gilliam <pgilliam@us.ibm.com> | 2005-10-14 20:17:11 +0000 |
commit | 3bf49e1b2435a7e368050b61438208ce609dae9b (patch) | |
tree | a19d0e4ab246b0a4f6b3e47aa0fa5fde490d0af0 /gdb/rs6000-tdep.c | |
parent | ab7c9a26e5eeedc00030c37b450457f6828bf661 (diff) | |
download | gdb-3bf49e1b2435a7e368050b61438208ce609dae9b.zip gdb-3bf49e1b2435a7e368050b61438208ce609dae9b.tar.gz gdb-3bf49e1b2435a7e368050b61438208ce609dae9b.tar.bz2 |
2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>
* rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
vector registers.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 4d2a944..f6459c7 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); |