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.

llvm-svn: 152671
This commit is contained in:
Jason Molenda 2012-03-13 21:10:35 +00:00
parent a4ac217d6c
commit 08441ba45e
1 changed files with 1 additions and 2 deletions

View File

@ -3359,8 +3359,7 @@ RNBRemote::HandlePacket_C (const char *p)
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;