lh03061238 added a comment.

In D139158#3965478 <https://reviews.llvm.org/D139158#3965478>, @jingham wrote:

> Note that the two most common uses of single step in lldb are 1) stepping 
> over the instruction under a breakpoint (which may be a branch) and 2) 
> stepping to the next instruction from a branch instruction.  So stepping 
> won't work correctly till you get single step past a branch instruction 
> working.  But you probably knew that...

Yes, you're right.
This patch just make the single stepping to work, only the non-jump 
instructions are supported, the effect is just like pc + 4. Support for jump 
instructions will be added in next patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139158/new/

https://reviews.llvm.org/D139158

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to