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

Greg Clayton gclayton at apple.com
Tue Oct 26 14:04:55 PDT 2010


Author: gclayton
Date: Tue Oct 26 16:04:55 2010
New Revision: 117395

URL: http://llvm.org/viewvc/llvm-project?rev=117395&view=rev
Log:
Fixed vAttachWait by fixing a missed "else if".


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=117395&r1=117394&r2=117395&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Tue Oct 26 16:04:55 2010
@@ -2552,7 +2552,7 @@
             attach_pid = DNBProcessAttachWait(attach_name.c_str (), m_ctx.LaunchFlavor(), NULL, 1000, err_str, sizeof(err_str), RNBRemoteShouldCancelCallback);
 
         }
-        if (strstr (p, "vAttachName;") == p)
+        else if (strstr (p, "vAttachName;") == p)
         {
             p += strlen("vAttachName;");
             std::string attach_name;





More information about the lldb-commits mailing list