Cleaned up the SBWatchpoint public API.

llvm-svn: 141876
This commit is contained in:
Greg Clayton
2011-10-13 18:08:26 +00:00
parent d5a9a3afaf
commit 1b282f9619
18 changed files with 260 additions and 165 deletions

View File

@@ -1097,3 +1097,31 @@ SBValue::GetData ()
return sb_data;
}
lldb::SBWatchpoint
SBValue::Watch (bool resolve_location, bool read, bool write)
{
lldb::SBWatchpoint sb_watchpoint;
Target* target = m_opaque_sp->GetUpdatePoint().GetTargetSP().get();
if (target)
{
Mutex::Locker api_locker (target->GetAPIMutex());
// TODO: Johnny fill this in
}
return sb_watchpoint;
}
lldb::SBWatchpoint
SBValue::WatchPointee (bool resolve_location, bool read, bool write)
{
lldb::SBWatchpoint sb_watchpoint;
Target* target = m_opaque_sp->GetUpdatePoint().GetTargetSP().get();
if (target)
{
Mutex::Locker api_locker (target->GetAPIMutex());
// TODO: Johnny fill this in
}
return sb_watchpoint;
}