Watchpoint WIP:

o Rename from OptionGroupWatchpoint::WatchMode to OptionGroupWatchpoint::WatchType,
  and CommandArgumentType::eArgTypeWatchMode to CommandArgumentType::eArgTypeWatchType.
  Update the sources to reflect the change.

o Add a CreateWatchpointLocation() method to Target class, which is currently not implmeneted
  (returns an empty WatchpointLocationSP object).  Add logic to CommandObjectFrame::Execute()
  to exercise the added API for creating a watchpoint location.

llvm-svn: 139560
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index a236d71..7dfe455 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -328,6 +328,15 @@
     return bp_sp;
 }
 
+// See also WatchpointLocation::SetWatchpointType() and OptionGroupWatchpoint::WatchType.
+WatchpointLocationSP
+Target::CreateWatchpointLocation(lldb::addr_t addr, size_t size, uint32_t type)
+{
+    WatchpointLocationSP wp_loc_sp;
+    if (addr == LLDB_INVALID_ADDRESS || size == 0 || GetProcessSP())
+        return wp_loc_sp;
+}
+
 void
 Target::RemoveAllBreakpoints (bool internal_also)
 {