[10/17,PowerPC] Add record/replay support for TAR
Commit Message
This patch changes ppc_process_record_op31 to handele moves to TAR.
gdb/ChangeLog:
2018-07-04 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
* rs6000-tdep.c (ppc_process_record_op31): Record changes to TAR.
---
gdb/rs6000-tdep.c | 4 ++++
1 file changed, 4 insertions(+)
@@ -4669,6 +4669,10 @@ ppc_process_record_op31 (struct gdbarch *gdbarch, struct regcache *regcache,
case 256: /* VRSAVE */
record_full_arch_list_add_reg (regcache, tdep->ppc_vrsave_regnum);
return 0;
+ case 815: /* TAR */
+ if (tdep->ppc_tar_regnum >= 0)
+ record_full_arch_list_add_reg (regcache, tdep->ppc_tar_regnum);
+ return 0;
case 896:
case 898: /* PPR */
if (tdep->ppc_ppr_regnum >= 0)