[Lldb-commits] [PATCH] D139158: [LLDB][LoongArch] Make software single stepping work

Hui Li via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 2 02:01:40 PST 2022


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



More information about the lldb-commits mailing list