[Lldb-commits] [lldb] r196830 - Fix Linux build after r196787

Ed Maste emaste at freebsd.org
Mon Dec 9 14:34:49 PST 2013


Author: emaste
Date: Mon Dec  9 16:34:49 2013
New Revision: 196830

URL: http://llvm.org/viewvc/llvm-project?rev=196830&view=rev
Log:
Fix Linux build after r196787

Patch from Xavier de Gaye

Modified:
    lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
    lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h
    lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp
    lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h

Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp?rev=196830&r1=196829&r2=196830&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp Mon Dec  9 16:34:49 2013
@@ -12,6 +12,10 @@
 // Other libraries and framework includes
 // Project includes
 #include "LinuxThread.h"
+#include "lldb/Core/State.h"
+#include "ProcessPOSIX.h"
+#include "ProcessMonitor.h"
+#include "ProcessPOSIXLog.h"
 
 using namespace lldb;
 using namespace lldb_private;

Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h?rev=196830&r1=196829&r2=196830&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h Mon Dec  9 16:34:49 2013
@@ -33,7 +33,7 @@ public:
 
     // POSIXThread overrides
     virtual bool
-    LinuxThread::Resume();
+    Resume();
 
     virtual void
     RefreshStateAfterStop();

Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp?rev=196830&r1=196829&r2=196830&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp Mon Dec  9 16:34:49 2013
@@ -182,7 +182,7 @@ ProcessLinux::DoResume()
     uint32_t thread_count = m_thread_list.GetSize(false);
     for (uint32_t i = 0; i < thread_count; ++i)
     {
-        POSIXThread *thread = static_cast<POSIXThread*>(
+        LinuxThread *thread = static_cast<LinuxThread*>(
             m_thread_list.GetThreadAtIndex(i, false).get());
         did_resume = thread->Resume() || did_resume;
     }

Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h?rev=196830&r1=196829&r2=196830&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h Mon Dec  9 16:34:49 2013
@@ -60,6 +60,9 @@ public:
     virtual bool
     UpdateThreadList(lldb_private::ThreadList &old_thread_list, lldb_private::ThreadList &new_thread_list);
 
+    virtual lldb_private::Error
+    DoResume();
+
     //------------------------------------------------------------------
     // PluginInterface protocol
     //------------------------------------------------------------------





More information about the lldb-commits mailing list