2012-12-19 Andreas Tobler <andreast@neon.andreas.nets>

* mips-tdep.c (micromips_deal_with_atomic_sequence): Initialize
        branch_bp to keep gcc happy.
This commit is contained in:
Andreas Tobler 2012-12-19 20:57:55 +00:00
parent c3b0209786
commit 4b844a3875
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-12-19 Andreas Tobler <andreast@neon.andreas.nets>
* mips-tdep.c (micromips_deal_with_atomic_sequence): Initialize
branch_bp to keep gcc happy.
2012-12-19 Joel Brobecker <brobecker@adacore.com>
* gdbarch.sh (copyright): Update copyright years.

View File

@ -3796,7 +3796,8 @@ micromips_deal_with_atomic_sequence (struct gdbarch *gdbarch,
const int atomic_sequence_length = 16; /* Instruction sequence length. */
int last_breakpoint = 0; /* Defaults to 0 (no breakpoints placed). */
CORE_ADDR breaks[2] = {-1, -1};
CORE_ADDR branch_bp; /* Breakpoint at branch instruction's destination. */
CORE_ADDR branch_bp = 0; /* Breakpoint at branch instruction's
destination. */
CORE_ADDR loc = pc;
int sc_found = 0;
ULONGEST insn;