[Lldb-commits] [lldb] r124464 - /lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Jim Ingham
jingham at apple.com
Thu Jan 27 18:23:12 PST 2011
Author: jingham
Date: Thu Jan 27 20:23:12 2011
New Revision: 124464
URL: http://llvm.org/viewvc/llvm-project?rev=124464&view=rev
Log:
Fix a little thinko in sending down the thread name to SetName.
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=124464&r1=124463&r2=124464&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Thu Jan 27 20:23:12 2011
@@ -1095,7 +1095,7 @@
ThreadGDBRemote *gdb_thread = static_cast<ThreadGDBRemote *> (thread_sp.get());
gdb_thread->SetThreadDispatchQAddr (thread_dispatch_qaddr);
- gdb_thread->SetName (thread_name.empty() ? thread_name.c_str() : NULL);
+ gdb_thread->SetName (thread_name.empty() ? NULL : thread_name.c_str());
if (exc_type != 0)
{
const size_t exc_data_size = exc_data.size();
More information about the lldb-commits
mailing list