Home
last modified time | relevance | path

Searched refs:wp_sp (Results 1 – 22 of 22) 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(); in Add()
55 WatchpointSP wp_sp; in FindByAddress() local
63 wp_sp = *pos; in FindByAddress()
69 return wp_sp; in FindByAddress()
[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
59 auto it = llvm::find(m_constituents, wp_sp); in RemoveConstituent()
69 bool WatchpointResource::ConstituentsContains(const WatchpointSP &wp_sp) { in ConstituentsContains() argument
70 return ConstituentsContains(wp_sp.get()); in ConstituentsContains()
H A DWatchpoint.cpp541 WatchpointSP wp_sp; in GetWatchpointFromEvent() local
545 wp_sp = data->m_new_watchpoint_sp; in GetWatchpointFromEvent()
547 return wp_sp; in GetWatchpointFromEvent()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStopInfo.cpp814 WatchpointSP wp_sp( in ShouldStopSynchronous() local
817 if (!wp_sp) { in ShouldStopSynchronous()
831 m_should_stop = wp_sp->ShouldStop(&context); in ShouldStopSynchronous()
855 *(thread_sp.get()), me_as_siwp_sp, wp_sp)); in ShouldStopSynchronous()
906 WatchpointSP wp_sp( in PerformAction() local
909 if (wp_sp) { in PerformAction()
916 WatchpointSentry sentry(process_sp, wp_sp); in PerformAction()
920 wp_sp->UndoHitCount(); in PerformAction()
923 if (wp_sp->GetHitCount() <= wp_sp->GetIgnoreCount()) { in PerformAction()
930 if (m_should_stop && wp_sp->GetConditionText() != nullptr) { in PerformAction()
[all …]
H A DTarget.cpp951 WatchpointSP wp_sp; in CreateWatchpoint() local
954 return wp_sp; in CreateWatchpoint()
964 return wp_sp; in CreateWatchpoint()
973 return wp_sp; in CreateWatchpoint()
1009 wp_sp = matched_sp; in CreateWatchpoint()
1010 wp_sp->SetEnabled(false, notify); in CreateWatchpoint()
1018 if (!wp_sp) { in CreateWatchpoint()
1019 wp_sp = std::make_shared<Watchpoint>(*this, addr, size, type); in CreateWatchpoint()
1020 wp_sp->SetWatchpointType(kind, notify); in CreateWatchpoint()
1021 m_watchpoint_list.Add(wp_sp, true); in CreateWatchpoint()
[all …]
H A DProcess.cpp2554 Status Process::EnableWatchpoint(WatchpointSP wp_sp, bool notify) { in EnableWatchpoint() argument
2560 Status Process::DisableWatchpoint(WatchpointSP wp_sp, bool notify) { in DisableWatchpoint() argument
/freebsd/contrib/llvm-project/lldb/source/API/
H A 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()
/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.cpp321 WatchpointSP wp_sp = target->GetWatchpointList().FindByID(watch_id); in WatchpointCallbackFunction() local
329 lua.CallWatchpointCallback(baton, stop_frame_sp, wp_sp); in WatchpointCallbackFunction()
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DWatchpointResource.h105 bool ConstituentsContains(const lldb::WatchpointSP &wp_sp);
H A DWatchpointList.h52 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.cpp3269 Status ProcessGDBRemote::EnableWatchpoint(WatchpointSP wp_sp, bool notify) { in EnableWatchpoint() argument
3271 if (!wp_sp) { in EnableWatchpoint()
3275 user_id_t watchID = wp_sp->GetID(); in EnableWatchpoint()
3276 addr_t addr = wp_sp->GetLoadAddress(); in EnableWatchpoint()
3280 if (wp_sp->IsEnabled()) { in EnableWatchpoint()
3288 bool read = wp_sp->WatchpointRead(); in EnableWatchpoint()
3289 bool write = wp_sp->WatchpointWrite() || wp_sp->WatchpointModify(); in EnableWatchpoint()
3290 size_t size = wp_sp->GetByteSize(); in EnableWatchpoint()
3339 wp_sp->SetEnabled(true, notify); in EnableWatchpoint()
3343 wp_res_sp->AddConstituent(wp_sp); in EnableWatchpoint()
[all …]
H A DProcessGDBRemote.h160 Status EnableWatchpoint(lldb::WatchpointSP wp_sp,
163 Status DisableWatchpoint(lldb::WatchpointSP wp_sp,
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandCompletions.cpp817 for (lldb::WatchpointSP wp_sp : wp_list.Watchpoints()) { in WatchPointIDs() local
819 wp_sp->Dump(&strm); in WatchPointIDs()
820 request.TryCompleteCurrentArg(std::to_string(wp_sp->GetID()), in WatchPointIDs()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp1962 WatchpointSP wp_sp = target->GetWatchpointList().FindByID(watch_id); in WatchpointCallbackFunction() local
1963 if (wp_sp) { in WatchpointCallbackFunction()
1964 if (stop_frame_sp && wp_sp) { in WatchpointCallbackFunction()
1973 wp_sp); in WatchpointCallbackFunction()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcess.h2232 virtual Status EnableWatchpoint(lldb::WatchpointSP wp_sp, bool notify = true);
2234 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.cpp3774 lua_State * L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) { in LLDBSwigLuaWatchpointCallbackFunction() argument
3776 lldb::SBWatchpoint sb_wp(wp_sp); in LLDBSwigLuaWatchpointCallbackFunction()