* arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
This commit is contained in:
parent
743d7f19b3
commit
4069ebbe47
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-02-26 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
|
||||
|
||||
2010-02-26 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* NEWS: Add "New targets" section, and mention ARM Symbian
|
||||
|
|
|
@ -2503,7 +2503,7 @@ thumb_get_next_pc (struct frame_info *frame, CORE_ADDR pc)
|
|||
nextpc = get_frame_register_unsigned (frame, ARM_LR_REGNUM);
|
||||
nextpc -= inst2 & 0x00ff;
|
||||
}
|
||||
else if ((inst2 & 0xd000) == 0xc000 && (inst1 & 0x0380) != 0x0380)
|
||||
else if ((inst2 & 0xd000) == 0x8000 && (inst1 & 0x0380) != 0x0380)
|
||||
{
|
||||
/* Conditional branch. */
|
||||
if (condition_true (bits (inst1, 6, 9), status))
|
||||
|
|
Loading…
Reference in a new issue