[lldb-dev] New target; where to start with thread plans
Pavel Labath via lldb-dev
lldb-dev at lists.llvm.org
Thu Nov 29 01:22:55 PST 2018
On 28/11/2018 21:05, Jim Ingham via lldb-dev wrote:
> The main complication would be if your new target didn't support hardware-single-step. If that's the case you will have to have a Disassembler that can predict the target PC of all instructions (when stopped at that instruction) since you'll have to use software breakpoints to drive the lowest level of stepping. There's support in there for handling that at a high level since the first couple of iPhone ARM chips didn't have single step support but we haven't actually had on any real systems we support that lack hardware single step in years, so it may need some reviving.
Linux still uses software single stepping on arm(32), but the code for
that is in lldb-server, so the client doesn't even know it's being used.
Of course that won't help you if you're not using lldb-server.
Was there ever software single-stepping support in the client?
More information about the lldb-dev