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

Johnny Chen johnny.chen at apple.com
Wed Aug 10 17:43:20 PDT 2011


Author: johnny
Date: Wed Aug 10 19:43:20 2011
New Revision: 137288

URL: http://llvm.org/viewvc/llvm-project?rev=137288&view=rev
Log:
Incremental fixes of issues found by Xcode static analyzer.

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=137288&r1=137287&r2=137288&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Wed Aug 10 19:43:20 2011
@@ -429,7 +429,6 @@
             return err;
 
         const nub_event_t events_to_wait_for = RNBContext::event_read_packet_available | RNBContext::event_read_thread_exiting;
-        set_events = 0;
 
         while ((set_events = events.WaitForSetEvents(events_to_wait_for)) != 0)
         {
@@ -2068,7 +2067,7 @@
         // Output the T packet with the thread
         ostrm << 'T';
         int signum = tid_stop_info.details.signal.signo;
-        DNBLogThreadedIf (LOG_RNB_PROC, "%8d %s got signal signo = %u, exc_type = %u", (uint32_t)m_comm.Timer().ElapsedMicroSeconds(true), __FUNCTION__, tid_stop_info.details.signal.signo, tid_stop_info.details.exception.type);
+        DNBLogThreadedIf (LOG_RNB_PROC, "%8d %s got signal signo = %u, exc_type = %u", (uint32_t)m_comm.Timer().ElapsedMicroSeconds(true), __FUNCTION__, signum, tid_stop_info.details.exception.type);
 
         // Translate any mach exceptions to gdb versions, unless they are
         // common exceptions like a breakpoint or a soft signal.





More information about the lldb-commits mailing list