[Lldb-commits] [lldb] r152671 - /lldb/trunk/tools/debugserver/source/RNBRemote.cpp

Jason Molenda jmolenda at apple.com
Tue Mar 13 14:10:35 PDT 2012


Author: jmolenda
Date: Tue Mar 13 16:10:35 2012
New Revision: 152671

URL: http://llvm.org/viewvc/llvm-project?rev=152671&view=rev
Log:
Send an "OK" response to the "D" (detach) packet.

v. http://sourceware.org/gdb/current/onlinedocs/gdb/Packets.html#Packets

the detach packet is supposed to send a reply.


Modified:
    lldb/trunk/tools/debugserver/source/RNBRemote.cpp

Modified: lldb/trunk/tools/debugserver/source/RNBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/RNBRemote.cpp?rev=152671&r1=152670&r2=152671&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Tue Mar 13 16:10:35 2012
@@ -3359,8 +3359,7 @@
 rnb_err_t
 RNBRemote::HandlePacket_D (const char *p)
 {
-    // We are not supposed to send a response for deatch.
-    //SendPacket ("OK");
+    SendPacket ("OK");
     if (m_ctx.HasValidProcessID())
         DNBProcessDetach(m_ctx.ProcessID());
     return rnb_success;





More information about the lldb-commits mailing list