Home
last modified time | relevance | path

Searched refs:wp_sp (Results 1 – 19 of 19) sorted by relevance

/openbsd/src/gnu/llvm/lldb/source/Breakpoint/
DWatchpointList.cpp20 lldb::watch_id_t WatchpointList::Add(const WatchpointSP &wp_sp, bool notify) { in Add() argument
22 wp_sp->SetID(++m_next_wp_id); in Add()
23 m_watchpoints.push_back(wp_sp); in Add()
25 if (wp_sp->GetTarget().EventTypeHasListeners( in Add()
27 wp_sp->GetTarget().BroadcastEvent(Target::eBroadcastBitWatchpointChanged, in Add()
29 eWatchpointEventTypeAdded, wp_sp)); in Add()
31 return wp_sp->GetID(); in Add()
53 WatchpointSP wp_sp; in FindByAddress() local
61 wp_sp = *pos; in FindByAddress()
67 return wp_sp; in FindByAddress()
[all …]
DWatchpoint.cpp384 WatchpointSP wp_sp; in GetWatchpointFromEvent() local
388 wp_sp = data->m_new_watchpoint_sp; in GetWatchpointFromEvent()
390 return wp_sp; in GetWatchpointFromEvent()
/openbsd/src/gnu/llvm/lldb/source/Plugins/Process/Utility/
DStopInfoMachException.cpp495 lldb::WatchpointSP wp_sp = in GetStopInfoForHardwareBP() local
497 if (wp_sp && wp_sp->IsEnabled()) { in GetStopInfoForHardwareBP()
501 wp_sp->SetHardwareIndex((uint32_t)exc_sub_sub_code); in GetStopInfoForHardwareBP()
502 return StopInfo::CreateStopReasonWithWatchpointID(thread, wp_sp->GetID()); in GetStopInfoForHardwareBP()
679 lldb::WatchpointSP wp_sp; in CreateStopReasonWithMachException() local
681 wp_sp = target->GetWatchpointList().FindByAddress( in CreateStopReasonWithMachException()
683 if (wp_sp && wp_sp->IsEnabled()) { in CreateStopReasonWithMachException()
688 wp_sp->SetHardwareIndex((uint32_t)exc_sub_sub_code); in CreateStopReasonWithMachException()
690 wp_sp->GetID()); in CreateStopReasonWithMachException()
722 lldb::WatchpointSP wp_sp; in CreateStopReasonWithMachException() local
[all …]
/openbsd/src/gnu/llvm/lldb/source/Target/
DStopInfo.cpp791 WatchpointSP wp_sp( in ShouldStopSynchronous() local
794 if (!wp_sp) { in ShouldStopSynchronous()
808 m_should_stop = wp_sp->ShouldStop(&context); in ShouldStopSynchronous()
840 *(thread_sp.get()), me_as_siwp_sp, wp_sp)); in ShouldStopSynchronous()
886 WatchpointSP wp_sp( in PerformAction() local
889 if (wp_sp) { in PerformAction()
896 WatchpointSentry sentry(process_sp, wp_sp); in PerformAction()
917 wp_sp->IncrementFalseAlarmsAndReviseHitCount(); in PerformAction()
921 if (wp_sp->GetHitCount() <= wp_sp->GetIgnoreCount()) { in PerformAction()
928 if (m_should_stop && wp_sp->GetConditionText() != nullptr) { in PerformAction()
[all …]
DTarget.cpp822 WatchpointSP wp_sp; in CreateWatchpoint() local
825 return wp_sp; in CreateWatchpoint()
833 return wp_sp; in CreateWatchpoint()
841 return wp_sp; in CreateWatchpoint()
864 wp_sp = matched_sp; in CreateWatchpoint()
865 wp_sp->SetEnabled(false, notify); in CreateWatchpoint()
873 if (!wp_sp) { in CreateWatchpoint()
874 wp_sp = std::make_shared<Watchpoint>(*this, addr, size, type); in CreateWatchpoint()
875 wp_sp->SetWatchpointType(kind, notify); in CreateWatchpoint()
876 m_watchpoint_list.Add(wp_sp, true); in CreateWatchpoint()
[all …]
/openbsd/src/gnu/llvm/lldb/source/API/
DSBWatchpoint.cpp31 SBWatchpoint::SBWatchpoint(const lldb::WatchpointSP &wp_sp) in SBWatchpoint() argument
32 : m_opaque_wp(wp_sp) { in SBWatchpoint()
33 LLDB_INSTRUMENT_VA(this, wp_sp); in SBWatchpoint()
/openbsd/src/gnu/llvm/lldb/bindings/lua/
Dlua-wrapper.swig45 lua_State * L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) {
47 lldb::SBWatchpoint sb_wp(wp_sp);
/openbsd/src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Lua/
DSWIGLuaBridge.h24 lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp);
DLua.cpp108 lldb::WatchpointSP wp_sp) { in CallWatchpointCallback() argument
113 wp_sp); in CallWatchpointCallback()
DLua.h43 lldb::WatchpointSP wp_sp);
DScriptInterpreterLua.cpp307 WatchpointSP wp_sp = target->GetWatchpointList().FindByID(watch_id); in WatchpointCallbackFunction() local
315 lua.CallWatchpointCallback(baton, stop_frame_sp, wp_sp); in WatchpointCallbackFunction()
/openbsd/src/gnu/llvm/lldb/include/lldb/API/
DSBWatchpoint.h22 SBWatchpoint(const lldb::WatchpointSP &wp_sp);
/openbsd/src/gnu/llvm/lldb/source/Commands/
DCommandObjectWatchpoint.cpp761 WatchpointSP wp_sp = target->GetLastCreatedWatchpoint(); in DoExecute() local
762 wp_sp->SetCondition(m_options.m_condition.c_str()); in DoExecute()
776 WatchpointSP wp_sp = watchpoints.FindByID(wp_ids[i]); in DoExecute() local
777 if (wp_sp) { in DoExecute()
778 wp_sp->SetCondition(m_options.m_condition.c_str()); in DoExecute()
DCommandCompletions.cpp779 for (lldb::WatchpointSP wp_sp : wp_list.Watchpoints()) { in WatchPointIDs() local
781 wp_sp->Dump(&strm); in WatchPointIDs()
782 request.TryCompleteCurrentArg(std::to_string(wp_sp->GetID()), in WatchPointIDs()
/openbsd/src/gnu/llvm/lldb/include/lldb/Breakpoint/
DWatchpointList.h53 lldb::watch_id_t Add(const lldb::WatchpointSP &wp_sp, bool notify);
/openbsd/src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
DProcessWindows.cpp408 if (lldb::WatchpointSP wp_sp = in RefreshStateAfterStop() local
410 wp_sp->SetHardwareIndex(slot_id); in RefreshStateAfterStop()
/openbsd/src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp1758 WatchpointSP wp_sp; in SetThreadStopInfo() local
1764 wp_sp = in SetThreadStopInfo()
1766 if (!wp_sp) in SetThreadStopInfo()
1767 wp_sp = GetTarget().GetWatchpointList().FindByAddress(wp_addr); in SetThreadStopInfo()
1768 if (wp_sp) { in SetThreadStopInfo()
1769 wp_sp->SetHardwareIndex(wp_index); in SetThreadStopInfo()
1770 watch_id = wp_sp->GetID(); in SetThreadStopInfo()
2198 WatchpointSP wp_sp = in SetThreadStopInfo() local
2202 if (wp_sp) in SetThreadStopInfo()
2203 wp_index = wp_sp->GetHardwareIndex(); in SetThreadStopInfo()
/openbsd/src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp2167 WatchpointSP wp_sp = target->GetWatchpointList().FindByID(watch_id); in WatchpointCallbackFunction() local
2168 if (wp_sp) { in WatchpointCallbackFunction()
2169 if (stop_frame_sp && wp_sp) { in WatchpointCallbackFunction()
2178 wp_sp); in WatchpointCallbackFunction()
/openbsd/src/gnu/llvm/lldb/bindings/python/
Dpython-wrapper.swig70 const lldb::StackFrameSP &frame_sp, const lldb::WatchpointSP &wp_sp) {
85 pfunc(ToSWIGWrapper(frame_sp), ToSWIGWrapper(wp_sp), dict);