diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-10-14 01:16:39 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-10-14 01:16:39 +0000 |
| commit | f5be9e37598f2dc5459f538f9211dd9a882c9f25 (patch) | |
| tree | 1cc7f64c415ad310e7200f11b3465dff48f31fd5 /lldb/source/API/SBTarget.cpp | |
| parent | 187de46132da36d69d49a1249729daaf1046ffc7 (diff) | |
| download | bcm5719-llvm-f5be9e37598f2dc5459f538f9211dd9a882c9f25.tar.gz bcm5719-llvm-f5be9e37598f2dc5459f538f9211dd9a882c9f25.zip | |
Add a test case to exercise the newly added SB API:
lldb::SBWatchpoint
SBTarget::WatchAddress (lldb::addr_t addr, size_t size, bool read, bool write)
llvm-svn: 141931
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
| -rw-r--r-- | lldb/source/API/SBTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp index 652d4705fea..d32215e274c 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -957,7 +957,7 @@ SBTarget::WatchAddress (lldb::addr_t addr, size_t size, bool read, bool write) Mutex::Locker api_locker (m_opaque_sp->GetAPIMutex()); uint32_t watch_type = (read ? LLDB_WATCH_TYPE_READ : 0) | (write ? LLDB_WATCH_TYPE_WRITE : 0); - WatchpointSP wp_sp = m_opaque_sp->CreateWatchpoint(addr, size, watch_type); + sb_watchpoint = m_opaque_sp->CreateWatchpoint(addr, size, watch_type); } if (log) |

