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

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

Reply via email to