diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1bd309f..c0d4a3f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-06-14 John Baldwin <jhb@FreeBSD.org> + + * rs6000-tdep.c (ppc_process_record_op31): Initialize ra. + 2016-06-13 Nick Clifton <nickc@redhat.com> * gdbtypes.c (replace_type): Fix assertion. diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 645fe92..1ed1354 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -4631,6 +4631,7 @@ ppc_process_record_op31 (struct gdbarch *gdbarch, struct regcache *regcache, || at_dcsz == 0) at_dcsz = 128; /* Assume 128-byte cache line size (POWER8) */ + ra = 0; if (PPC_RA (insn) != 0) regcache_raw_read_unsigned (regcache, tdep->ppc_gp0_regnum + PPC_RA (insn), &ra); |