[Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 16 03:30:46 PST 2016


tberghammer added a subscriber: tberghammer.
tberghammer added a comment.

Hi Ewan,

Can you give me some instruction about how can I reproduce the issue on a
Nexus 6? (If you can't gave the information out then the disassembly of the
offending function and the fault address might gave me some hint as well)

A SIGBUS error looks a bit strange for me but my best guess is that we
manage to install a 2 byte thumb breakpoint on the 2nd 2 byte of a 4 byte
instruction what results in an incorrect instruction opcode and from that
point strange things can happen.

Tamas


Repository:
  rL LLVM

http://reviews.llvm.org/D16853





More information about the lldb-commits mailing list