[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:33 PST 2016
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
On Tue, Feb 16, 2016 at 10:39 AM Ewan Crawford <ewan at codeplay.com> wrote:
> EwanCrawford added a subscriber: EwanCrawford.
> EwanCrawford added a comment.
>
> Hi Tamas,
>
> This commit causes a SIGBUS for me on Nexus 6 ARMv7 devices, specifically
> the g_thumb_breakpoint_opcode change.
> I can revert this locally but any advice on tracking the issue down
> further?
>
>
> Repository:
> rL LLVM
>
> http://reviews.llvm.org/D16853
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160216/52375866/attachment.html>
More information about the lldb-commits
mailing list