* arm-tdep.c (arm_in_function_epilogue_p): Fix code to avoid
possible used of uninitialized variable.
This commit is contained in:
parent
ef13ebfec9
commit
73c964d623
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-11-14 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* arm-tdep.c (arm_in_function_epilogue_p): Fix code to avoid
|
||||
possible used of uninitialized variable.
|
||||
|
||||
2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* rs6000-tdep.c (bfd_uses_spe_extensions): New function.
|
||||
|
|
|
@ -2233,6 +2233,7 @@ arm_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
|
|||
if (pc < func_start + 4)
|
||||
return 0;
|
||||
|
||||
found_stack_adjust = 0;
|
||||
insn = read_memory_unsigned_integer (pc - 4, 4, byte_order_for_code);
|
||||
if (bits (insn, 28, 31) != INST_NV)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue