[Lldb-commits] [lldb] r186086 - Add stub GetThreadName for FreeBSD, missed in r186033.

Ed Maste emaste at freebsd.org
Thu Jul 11 07:12:16 PDT 2013


Author: emaste
Date: Thu Jul 11 09:12:16 2013
New Revision: 186086

URL: http://llvm.org/viewvc/llvm-project?rev=186086&view=rev
Log:
Add stub GetThreadName for FreeBSD, missed in r186033.

On FreeBSD inferior thread names are available through ptrace, so we won't
use Host::GetThreadName anyway.

Modified:
    lldb/trunk/source/Host/freebsd/Host.cpp

Modified: lldb/trunk/source/Host/freebsd/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/freebsd/Host.cpp?rev=186086&r1=186085&r2=186086&view=diff
==============================================================================
--- lldb/trunk/source/Host/freebsd/Host.cpp (original)
+++ lldb/trunk/source/Host/freebsd/Host.cpp Thu Jul 11 09:12:16 2013
@@ -77,6 +77,13 @@ Host::ThreadCreated (const char *thread_
     }
 }
 
+std::string
+Host::GetThreadName (lldb::pid_t pid, lldb::tid_t tid)
+{
+    std::string thread_name;
+    return thread_name;
+}
+
 void
 Host::Backtrace (Stream &strm, uint32_t max_frames)
 {





More information about the lldb-commits mailing list