================ @@ -33,6 +33,23 @@ static void SendThreadExitedEvent(DAP &dap, lldb::tid_t tid) { dap.SendJSON(llvm::json::Value(std::move(event))); } +void SendAdditionalCapabilities(DAP &dap) { + if (dap.target.IsValid()) { + // FIXME: stepInTargets request is only supported by the x86 architecture + // remove when `lldb::InstructionControlFlowKind` is supported by other + // architectures + const llvm::StringRef target_triple = dap.target.GetTriple(); + if (!target_triple.starts_with("x86")) { + llvm::json::Object event(CreateEventObject("capabilities")); ---------------- ashgti wrote:
You could use `protocol::Event event;` https://github.com/llvm/llvm-project/pull/142439 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits