aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.h
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/event-top.h
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/event-top.h')
0 files changed, 0 insertions, 0 deletions