[PATCH 3/8] Initialize 'ra' to zero to avoid uninitialized use.
Yao Qi
qiyaoltc@gmail.com
Mon Jun 13 11:04:00 GMT 2016
On Sat, Jun 11, 2016 at 9:48 PM, John Baldwin <jhb@freebsd.org> wrote:
> 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.
Patch is good to me.
--
Yao (齐尧)
More information about the Binutils
mailing list