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

Jason Molenda jmolenda at apple.com
Sat Jan 12 00:32:43 PST 2013


Author: jmolenda
Date: Sat Jan 12 02:32:28 2013
New Revision: 172311

URL: http://llvm.org/viewvc/llvm-project?rev=172311&view=rev
Log:
Recognize LOG_WATCHPOINTS in the QSetLogging gdb-remote packet.

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=172311&r1=172310&r2=172311&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Sat Jan 12 02:32:28 2013
@@ -1687,6 +1687,11 @@
                     p += sizeof ("LOG_RNB_PACKETS") - 1;
                     bitmask |= LOG_RNB_PACKETS;
                 }
+                else if (strncmp (p, "LOG_WATCHPOINTS", sizeof ("LOG_WATCHPOINTS") - 1) == 0)
+                {
+                    p += sizeof ("LOG_WATCHPOINTS") - 1;
+                    bitmask |= LOG_WATCHPOINTS;
+                }
                 else if (strncmp (p, "LOG_RNB_ALL", sizeof ("LOG_RNB_ALL") - 1) == 0)
                 {
                     p += sizeof ("LOG_RNB_ALL") - 1;





More information about the lldb-commits mailing list