* arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break

due to accessing uninitialized variable.  Fix indentation.
This commit is contained in:
Ulrich Weigand 2011-02-02 18:03:35 +00:00
parent 580688f393
commit 2e9e421ffe
2 changed files with 26 additions and 20 deletions

View file

@ -1,3 +1,8 @@
2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
* arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
due to accessing uninitialized variable. Fix indentation.
2011-02-02 Pedro Alves <pedro@codesourcery.com>
* c-valprint.c (c_value_print): When doing virtual base pointer

View file

@ -1215,11 +1215,12 @@ arm_analyze_load_stack_chk_guard(CORE_ADDR pc, struct gdbarch *gdbarch,
= read_memory_unsigned_integer (pc + 4, 4, byte_order_for_code);
if ((insn & 0x0ff00000) == 0x03400000) /* movt Rd, #const */
{
high = EXTRACT_MOVW_MOVT_IMM_A (insn);
address = (high << 16 | low);
*destreg = bits (insn, 12, 15);
*offset = 8;
address = (high << 16 | low);
}
}
}