[Lldb-commits] [lldb] [lldb][riscv] Fix setting breakpoint for undecoded instruction (PR #90075)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed May 29 00:41:35 PDT 2024


================
@@ -94,6 +94,39 @@ static lldb::addr_t ReadFlags(NativeRegisterContext &regsiter_context) {
                                                  LLDB_INVALID_ADDRESS);
 }
 
+static int GetSoftwareWatchpointSize(const ArchSpec &arch,
----------------
labath wrote:

Doesn't this return the size of the *break*point (i.e. it should be called `GetSoftwareBreakpointSize` ?

https://github.com/llvm/llvm-project/pull/90075


More information about the lldb-commits mailing list