Fix a little thinko in sending down the thread name to SetName.

llvm-svn: 124464
This commit is contained in:
Jim Ingham 2011-01-28 02:23:12 +00:00
parent f2c6ccf043
commit dd2fe7adb5
1 changed files with 1 additions and 1 deletions
lldb/source/Plugins/Process/gdb-remote

View File

@ -1095,7 +1095,7 @@ ProcessGDBRemote::SetThreadStopInfo (StringExtractor& stop_packet)
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();