File tree 2 files changed +0
-41
lines changed 2 files changed +0
-41
lines changed Original file line number Diff line number Diff line change @@ -1014,34 +1014,6 @@ void DAP::SetThreadFormat(llvm::StringRef format) {
1014
1014
}
1015
1015
}
1016
1016
1017
- InstructionBreakpoint *
1018
- DAP::GetInstructionBreakpoint (const lldb::break_id_t bp_id) {
1019
- for (auto &bp : instruction_breakpoints) {
1020
- if (bp.second .bp .GetID () == bp_id)
1021
- return &bp.second ;
1022
- }
1023
- return nullptr ;
1024
- }
1025
-
1026
- InstructionBreakpoint *
1027
- DAP::GetInstructionBPFromStopReason (lldb::SBThread &thread) {
1028
- const auto num = thread.GetStopReasonDataCount ();
1029
- InstructionBreakpoint *inst_bp = nullptr ;
1030
- for (size_t i = 0 ; i < num; i += 2 ) {
1031
- // thread.GetStopReasonDataAtIndex(i) will return the bp ID and
1032
- // thread.GetStopReasonDataAtIndex(i+1) will return the location
1033
- // within that breakpoint. We only care about the bp ID so we can
1034
- // see if this is an instruction breakpoint that is getting hit.
1035
- lldb::break_id_t bp_id = thread.GetStopReasonDataAtIndex (i);
1036
- inst_bp = GetInstructionBreakpoint (bp_id);
1037
- // If any breakpoint is not an instruction breakpoint, then stop and
1038
- // report this as a normal breakpoint
1039
- if (inst_bp == nullptr )
1040
- return nullptr ;
1041
- }
1042
- return inst_bp;
1043
- }
1044
-
1045
1017
lldb::SBValueList *Variables::GetTopLevelScope (int64_t variablesReference) {
1046
1018
switch (variablesReference) {
1047
1019
case VARREF_LOCALS:
Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ struct DAP {
233
233
// / @}
234
234
235
235
ExceptionBreakpoint *GetExceptionBreakpoint (const std::string &filter);
236
- ExceptionBreakpoint *GetExceptionBreakpoint (const lldb::break_id_t bp_id);
237
236
238
237
// / Redirect stdout and stderr fo the IDE's console output.
239
238
// /
@@ -445,18 +444,6 @@ struct DAP {
445
444
}
446
445
return nullptr ;
447
446
}
448
-
449
- FunctionBreakpoint *GetFunctionBPFromStopReason (lldb::SBThread &thread);
450
-
451
- FunctionBreakpoint *GetFunctionBreakPoint (const lldb::break_id_t bp_id);
452
-
453
- void WaitWorkerThreadsToExit ();
454
-
455
- private:
456
- // Send the JSON in "json_str" to the "out" stream. Correctly send the
457
- // "Content-Length:" field followed by the length, followed by the raw
458
- // JSON bytes.
459
- void SendJSON (const std::string &json_str);
460
447
};
461
448
462
449
} // namespace lldb_dap
You can’t perform that action at this time.
0 commit comments