Added a test for the next_pc being zero before setting a software breakpoint
in arm32.
Reenabled the crash during step test for android/linux.
Details
Details
- Reviewers
jmajors
Diff Detail
Diff Detail
- Build Status
Buildable 641 Build 641: arc lint + arc unit
Event Timeline
Comment Actions
Not commenting on the substance of the change (though it seems sensible to me.) The inclusion of the .gitignore was probably accidental, but in any case, try not to gang unrelated changes together like this. Thanks!
Comment Actions
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. :)