From 57508026c276d9ffca1d84dfb74ea60c9b18b76a Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 15 Jul 2011 16:31:38 +0000 Subject: Added the ability to connect using "tcp://:" which is the same as the old "connect://:". Also added the ability to connect using "udp://:" which will open a connected datagram socket. I need to find a way to specify a non connected datagram socket as well. We might need to start setting some settings in the URL itself, maybe something like: udp://:?connected=yes udp://:?connected=no I am open to suggestions for URL settings. Also did more work on the KDP darwin kernel plug-in. llvm-svn: 135277 --- lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp') diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp index 9ae965ec84f..d7ec4b7ab34 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -16,6 +16,7 @@ #include "lldb/Core/PluginManager.h" #include "lldb/Core/State.h" #include "lldb/Host/Host.h" +#include "lldb/Target/Target.h" // Project includes #include "ProcessKDP.h" @@ -414,7 +415,7 @@ ProcessKDP::DoDetach() m_thread_list.DiscardThreadPlans(); - size_t response_size = m_comm.SendPacket ("D", 1); + size_t response_size = m_comm.Disconnect (); if (log) { if (response_size) -- cgit v1.2.3