aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-06-11 07:26:09 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2016-06-14 11:47:11 -0700
commitbec734b212d68d96560e309f49a584d98b98fbdc (patch)
tree59fe77f25d44120c288ae81a936e2afbb7381b25 /gdb/ChangeLog
parent99a54ef6f705eedb20f8f4baf3fdd47cc5ca8a92 (diff)
downloadgdb-bec734b212d68d96560e309f49a584d98b98fbdc.zip
gdb-bec734b212d68d96560e309f49a584d98b98fbdc.tar.gz
gdb-bec734b212d68d96560e309f49a584d98b98fbdc.tar.bz2
Initialize 'ra' to zero to avoid uninitialized use.
If the instruction in this case does not include an RA field, then 'ra' is used uninitialized. Use the same idiom used elsewhere in this file of initializing ra to zero before check for an RA field. gdb/ChangeLog: * rs6000-tdep.c (ppc_process_record_op31): Initialize ra.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 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.