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)


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141931 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBTarget.cpp b/source/API/SBTarget.cpp
index 652d470..d32215e 100644
--- a/source/API/SBTarget.cpp
+++ b/source/API/SBTarget.cpp
@@ -957,7 +957,7 @@
         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)