[Lldb-commits] [lldb] r238595 - Add '+' sign at the end of echo message for debugserver

Ying Chen chying at google.com
Fri May 29 11:44:08 PDT 2015

Author: chying
Date: Fri May 29 13:44:08 2015
New Revision: 238595

URL: http://llvm.org/viewvc/llvm-project?rev=238595&view=rev
Add '+' sign at the end of echo message for debugserver

-ammend to r238538
-Fix test failure of TestGdbRemoteAuxvSupport.py and TestLldbGdbServer.py on MacOSX

Test Plan:
./dotest -p TestGdbRemoteAuxvSupport.py
./dotest -p TestLldbGdbServer.py

Reviewers: chaoren, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10133


Modified: lldb/trunk/tools/debugserver/source/RNBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/RNBRemote.cpp?rev=238595&r1=238594&r2=238595&view=diff
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Fri May 29 13:44:08 2015
@@ -3097,7 +3097,7 @@ RNBRemote::HandlePacket_qSupported (cons
     uint32_t max_packet_size = 128 * 1024;  // 128KBytes is a reasonable max packet size--debugger can always use less
     char buf[64];
-    snprintf (buf, sizeof(buf), "qXfer:features:read+;PacketSize=%x;qEcho", max_packet_size);
+    snprintf (buf, sizeof(buf), "qXfer:features:read+;PacketSize=%x;qEcho+", max_packet_size);
     return SendPacket (buf);

More information about the lldb-commits mailing list