From: Lennert Buytenhek Date: Tue, 13 Oct 2009 20:48:18 +0000 (+0200) Subject: fix detection of PLD instructions X-Git-Tag: v0.3.0-rc0~89 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9b9bc78ef1827e59ae7c6c0bdfed0bc2f3b878f5;p=openocd fix detection of PLD instructions Signed-off-by: Lennert Buytenhek Signed-off-by: David Brownell --- diff --git a/src/target/arm_disassembler.c b/src/target/arm_disassembler.c index 2755cc29..5b0046b7 100644 --- a/src/target/arm_disassembler.c +++ b/src/target/arm_disassembler.c @@ -110,7 +110,7 @@ static int evaluate_pld(uint32_t opcode, uint32_t address, arm_instruction_t *instruction) { /* PLD */ - if ((opcode & 0x0d70f0000) == 0x0550f000) + if ((opcode & 0x0d70f000) == 0x0550f000) { instruction->type = ARM_PLD;