diff options
author | Jim Ingham <jingham@apple.com> | 2011-01-28 02:23:12 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-01-28 02:23:12 +0000 |
commit | dd2fe7adb548e8d38e4a685287099ab79ca004be (patch) | |
tree | 65f334930ad1842a97ef325d8c98ce8b538f788a | |
parent | f2c6ccf0431b8fe4abdef29a2485d5ffd608474c (diff) | |
download | bcm5719-llvm-dd2fe7adb548e8d38e4a685287099ab79ca004be.tar.gz bcm5719-llvm-dd2fe7adb548e8d38e4a685287099ab79ca004be.zip |
Fix a little thinko in sending down the thread name to SetName.
llvm-svn: 124464
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index ee6e3aed14b..afaf3744c0e 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -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(); |