diff options
author | Pierre Muller <muller@sourceware.org> | 2010-11-14 12:10:59 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-11-14 12:10:59 +0000 |
commit | 73c964d623bc742a965522ef9591294588d50452 (patch) | |
tree | 34530bcfdf660a0188e8d91860c8bf3d71ac71e6 /gdb/arm-tdep.c | |
parent | ef13ebfec9dfd5841c174003abe0f64a5db5f6c8 (diff) | |
download | gdb-73c964d623bc742a965522ef9591294588d50452.zip gdb-73c964d623bc742a965522ef9591294588d50452.tar.gz gdb-73c964d623bc742a965522ef9591294588d50452.tar.bz2 |
* arm-tdep.c (arm_in_function_epilogue_p): Fix code to avoid
possible used of uninitialized variable.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 2df96cd..7c24d30 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -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) { |