[Lldb-commits] [PATCH] D25792: Don't set a software stepping breakpoint at 0 on arm.

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 19 15:12:42 PDT 2016


labath requested changes to this revision.
labath added a comment.
This revision now requires changes to proceed.

I envisioned a bit different solution to this problem. The issue does not happen only when the inferior jumps to a literal 0x0 address, but for any address that is not mapped into memory (so we cannot set a breakpoint there). The simplest way to figure out whether we are able to set a breakpoint is to actually try setting it, and check for the error. (plus, I don't think your code   handles the thumb case)

And yes, the .gitignore changes should not be a part of this change. :)


https://reviews.llvm.org/D25792





More information about the lldb-commits mailing list