Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A 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()
28 eWatchpointEventTypeAdded, wp_sp); in Add()
29 wp_sp->GetTarget().BroadcastEvent(Target::eBroadcastBitWatchpointChanged, in Add()
33 return wp_sp->GetID();
55 WatchpointSP wp_sp; in FindByAddress()
63 wp_sp = *pos; in FindByAddress()
69 return wp_sp;
53 WatchpointSP wp_sp; FindByAddress() local
71 WatchpointSP wp_sp; FindBySpec() local
112 WatchpointSP wp_sp; FindByID() local
122 WatchpointSP wp_sp = FindByAddress(addr); FindIDByAddress() local
130 WatchpointSP wp_sp = FindBySpec(spec); FindIDBySpec() local
139 WatchpointSP wp_sp; GetByIndex() local
150 WatchpointSP wp_sp; GetByIndex() local
171 WatchpointSP wp_sp = *pos; Remove() local
198 WatchpointSP wp_sp = FindByID(watch_id); ShouldStop() local
[all...]
H A DWatchpointResource.cpp52 void WatchpointResource::AddConstituent(const WatchpointSP &wp_sp) { in AddConstituent() argument
54 m_constituents.push_back(wp_sp); in AddConstituent()
57 void WatchpointResource::RemoveConstituent(WatchpointSP &wp_sp) { in RemoveConstituent() argument
60 std::find(m_constituents.begin(), m_constituents.end(), wp_sp); in RemoveConstituent()
70 bool WatchpointResource::ConstituentsContains(const WatchpointSP &wp_sp) { in ConstituentsContains() argument
71 return ConstituentsContains(wp_sp.get()); in ConstituentsContains()
H A DWatchpoint.cpp543 WatchpointSP wp_sp; in GetWatchpointFromEvent() local
547 wp_sp = data->m_new_watchpoint_sp; in GetWatchpointFromEvent()
549 return wp_sp; in GetWatchpointFromEvent()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStopInfo.cpp793 WatchpointSP wp_sp( in ShouldStopSynchronous() local
796 if (!wp_sp) { in ShouldStopSynchronous()
810 m_should_stop = wp_sp->ShouldStop(&context); in ShouldStopSynchronous()
834 *(thread_sp.get()), me_as_siwp_sp, wp_sp)); in ShouldStopSynchronous()
885 WatchpointSP wp_sp( in PerformAction() local
888 if (wp_sp) { in PerformAction()
895 WatchpointSentry sentry(process_sp, wp_sp); in PerformAction()
899 wp_sp->UndoHitCount(); in PerformAction()
902 if (wp_sp->GetHitCount() <= wp_sp->GetIgnoreCount()) { in PerformAction()
909 if (m_should_stop && wp_sp->GetConditionText() != nullptr) { in PerformAction()
[all …]
H A DTarget.cpp864 WatchpointSP wp_sp; in CreateWatchpoint() local
867 return wp_sp; in CreateWatchpoint()
875 return wp_sp; in CreateWatchpoint()
883 return wp_sp; in CreateWatchpoint()
919 wp_sp = matched_sp; in CreateWatchpoint()
920 wp_sp->SetEnabled(false, notify); in CreateWatchpoint()
928 if (!wp_sp) { in CreateWatchpoint()
929 wp_sp = std::make_shared<Watchpoint>(*this, addr, size, type); in CreateWatchpoint()
930 wp_sp->SetWatchpointType(kind, notify); in CreateWatchpoint()
931 m_watchpoint_list.Add(wp_sp, true); in CreateWatchpoint()
[all …]
H A DProcess.cpp2586 Status Process::EnableWatchpoint(WatchpointSP wp_sp, bool notify) { in EnableWatchpoint() argument
2592 Status Process::DisableWatchpoint(WatchpointSP wp_sp, bool notify) { in DisableWatchpoint() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DStopInfoMachException.cpp680 lldb::WatchpointSP wp_sp; in CreateStopReasonWithMachException() local
682 wp_sp = target->GetWatchpointList().FindByAddress( in CreateStopReasonWithMachException()
684 if (wp_sp && wp_sp->IsEnabled()) { in CreateStopReasonWithMachException()
686 wp_sp->GetID()); in CreateStopReasonWithMachException()
737 lldb::WatchpointSP wp_sp; in CreateStopReasonWithMachException() local
739 wp_sp = target->GetWatchpointList().FindByAddress( in CreateStopReasonWithMachException()
741 if (wp_sp && wp_sp->IsEnabled()) { in CreateStopReasonWithMachException()
743 wp_sp->GetID()); in CreateStopReasonWithMachException()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBWatchpoint.cpp31 SBWatchpoint::SBWatchpoint(const lldb::WatchpointSP &wp_sp)
32 : m_opaque_wp(wp_sp) { in SBWatchpoint() argument
33 LLDB_INSTRUMENT_VA(this, wp_sp); in SBWatchpoint()
/freebsd/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-wrapper.swig47 lua_State * L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) {
49 lldb::SBWatchpoint sb_wp(wp_sp);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DSWIGLuaBridge.h28 lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp);
H A DLua.cpp108 lldb::WatchpointSP wp_sp) { in CallWatchpointCallback() argument
113 m_lua_state, stop_frame_sp, wp_sp); in CallWatchpointCallback()
H A DLua.h43 lldb::WatchpointSP wp_sp);
H A DScriptInterpreterLua.cpp308 WatchpointSP wp_sp = target->GetWatchpointList().FindByID(watch_id); in WatchpointCallbackFunction() local
316 lua.CallWatchpointCallback(baton, stop_frame_sp, wp_sp); in WatchpointCallbackFunction()
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DWatchpointResource.h106 bool ConstituentsContains(const lldb::WatchpointSP &wp_sp);
H A DWatchpointList.h53 lldb::watch_id_t Add(const lldb::WatchpointSP &wp_sp, bool notify);
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBWatchpoint.h94 SBWatchpoint(const lldb::WatchpointSP &wp_sp);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp3154 Status ProcessGDBRemote::EnableWatchpoint(WatchpointSP wp_sp, bool notify) { in EnableWatchpoint() argument
3156 if (!wp_sp) { in EnableWatchpoint()
3160 user_id_t watchID = wp_sp->GetID(); in EnableWatchpoint()
3161 addr_t addr = wp_sp->GetLoadAddress(); in EnableWatchpoint()
3165 if (wp_sp->IsEnabled()) { in EnableWatchpoint()
3173 bool read = wp_sp->WatchpointRead(); in EnableWatchpoint()
3174 bool write = wp_sp->WatchpointWrite() || wp_sp->WatchpointModify(); in EnableWatchpoint()
3175 size_t size = wp_sp->GetByteSize(); in EnableWatchpoint()
3224 wp_sp->SetEnabled(true, notify); in EnableWatchpoint()
3228 wp_res_sp->AddConstituent(wp_sp); in EnableWatchpoint()
[all …]
H A DProcessGDBRemote.h161 Status EnableWatchpoint(lldb::WatchpointSP wp_sp,
164 Status DisableWatchpoint(lldb::WatchpointSP wp_sp,
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandCompletions.cpp808 for (lldb::WatchpointSP wp_sp : wp_list.Watchpoints()) { in WatchPointIDs() local
810 wp_sp->Dump(&strm); in WatchPointIDs()
811 request.TryCompleteCurrentArg(std::to_string(wp_sp->GetID()), in WatchPointIDs()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp1995 WatchpointSP wp_sp = target->GetWatchpointList().FindByID(watch_id); in WatchpointCallbackFunction() local
1996 if (wp_sp) { in WatchpointCallbackFunction()
1997 if (stop_frame_sp && wp_sp) { in WatchpointCallbackFunction()
2006 wp_sp); in WatchpointCallbackFunction()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcess.h2195 virtual Status EnableWatchpoint(lldb::WatchpointSP wp_sp, bool notify = true);
2197 virtual Status DisableWatchpoint(lldb::WatchpointSP wp_sp,
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-wrapper.swig70 const lldb::StackFrameSP &frame_sp, const lldb::WatchpointSP &wp_sp) {
85 pfunc(SWIGBridge::ToSWIGWrapper(frame_sp), SWIGBridge::ToSWIGWrapper(wp_sp), dict);
/freebsd/lib/clang/liblldb/
H A DLLDBWrapLua.cpp3840 lua_State * L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) { in LLDBSwigLuaWatchpointCallbackFunction() argument
3842 lldb::SBWatchpoint sb_wp(wp_sp); in LLDBSwigLuaWatchpointCallbackFunction()