Message ID | 5422BE7D.1020302@codesourcery.com |
---|---|
State | New |
Headers | show |
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 742053f..5dccf0a 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -3273,7 +3273,7 @@ thumb_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc) found_return = 1; else if (thumb_instruction_restores_sp (insn)) { - if ((insn & 0xfe00) == 0xbd00) /* pop <registers, PC> */ + if ((insn & 0xff00) == 0xbd00) /* pop <registers, PC> */ found_return = 1; } else if (thumb_insn_size (insn) == 4) /* 32-bit Thumb-2 instruction */