This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Initialize 'ra' to zero to avoid uninitialized use.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 14 Jun 2016 18:47:27 -0400
- Subject: [binutils-gdb] Initialize 'ra' to zero to avoid uninitialized use.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT bec734b212d68d96560e309f49a584d98b98fbdc ***
Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: bec734b212d68d96560e309f49a584d98b98fbdc
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.