[Lldb-commits] [PATCH] D128250: [LLDB][RISCV]Add initial support for lldb-server.

Emmmer S via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 9 07:38:20 PDT 2022


Emmmer added a comment.

> Cool! There is one thread talking about the RISCV ABI support: https://reviews.llvm.org/D62732. I tried that ABI in the RISCV file but it seems like the same issue happened as yours, the breakpoint cannot be stopped, and the lldb-server cannot show the reasonable stack frame pointer address. So I think the ABI support should be modified.

The ABI support you mentioned does not relate to breakpoint mechanism in `lldb-server` (but it may be required by other features). lldb-server failed to add breakpoints due to the lack of trap code implementation in `NativeProcessProtocol::EnableSoftwareBreakpoint`. You can checkout the new revision in D130342 <https://reviews.llvm.org/D130342> which successfully set the breakpoint on a statically linked executable.


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

https://reviews.llvm.org/D128250



More information about the lldb-commits mailing list