Fixed an issue where large memory writes might not get chunked up into smaller
packets in GDB remote.

Also fixed a compiler warning for an unhandled case for a switch.

llvm-svn: 131397
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 47a4c1c..f185d57 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1913,7 +1913,7 @@
     BreakpointSiteList::collection::const_iterator end =  m_breakpoint_site_list.GetMap()->end();
 
     if (iter == end || iter->second->GetLoadAddress() > addr + size)
-        return DoWriteMemory(addr, buf, size, error);
+        return WriteMemoryPrivate (addr, buf, size, error);
 
     BreakpointSiteList::collection::const_iterator pos;
     size_t bytes_written = 0;