diff options
author | Greg Clayton <gclayton@apple.com> | 2013-04-12 20:07:46 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-04-12 20:07:46 +0000 |
commit | b3ae87617437c5850003cd7ab35e0b3581d2b7da (patch) | |
tree | 432a368c3ea470e6bb546276e059f19aa3c491dc /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | 7181ed33461e3ee0a3fd4d9f8ec16b708d34ab2f (diff) | |
download | bcm5719-llvm-b3ae87617437c5850003cd7ab35e0b3581d2b7da.tar.gz bcm5719-llvm-b3ae87617437c5850003cd7ab35e0b3581d2b7da.zip |
<rdar://problem/13491977>
Made some fixes to the OperatingSystemPython class:
- If any thread dictionary contains any "core=N" key/value pairs then the threads obtained from the lldb_private::Process itself will be placed inside the ThreadMemory threads and will be used to get the information for a thread.
- Cleaned up all the places where a thread inside a thread was causing problems
llvm-svn: 179405
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index 4ac3f687aba..f1084d68bd4 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -202,8 +202,12 @@ ThreadGDBRemote::CreateRegisterContextForFrame (StackFrame *frame) reg_ctx_sp.reset (new GDBRemoteRegisterContext (*this, concrete_frame_idx, gdb_process->m_register_info, read_all_registers_at_once)); } } - else if (m_unwinder_ap.get()) - reg_ctx_sp = m_unwinder_ap->CreateRegisterContextForFrame (frame); + else + { + Unwind *unwinder = GetUnwinder (); + if (unwinder) + reg_ctx_sp = unwinder->CreateRegisterContextForFrame (frame); + } return reg_ctx_sp; } |