forked from OSchip/llvm-project
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:
parent
a4ac217d6c
commit
08441ba45e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue