RegisterContextThreadMemory.cpp (276479) | RegisterContextThreadMemory.cpp (280031) |
---|---|
1//===-- RegisterContextThreadMemory.cpp -------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 45 unchanged lines hidden (view full) --- 54 if (backing_thread_sp) 55 { 56 m_reg_ctx_sp = backing_thread_sp->GetRegisterContext(); 57 } 58 else 59 { 60 OperatingSystem *os = process_sp->GetOperatingSystem (); 61 if (os->IsOperatingSystemPluginThread (thread_sp)) | 1//===-- RegisterContextThreadMemory.cpp -------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 45 unchanged lines hidden (view full) --- 54 if (backing_thread_sp) 55 { 56 m_reg_ctx_sp = backing_thread_sp->GetRegisterContext(); 57 } 58 else 59 { 60 OperatingSystem *os = process_sp->GetOperatingSystem (); 61 if (os->IsOperatingSystemPluginThread (thread_sp)) |
62 m_reg_ctx_sp = os->CreateRegisterContextForThread (thread_sp.get(), LLDB_INVALID_ADDRESS); | 62 m_reg_ctx_sp = os->CreateRegisterContextForThread (thread_sp.get(), m_register_data_addr); |
63 } 64 } 65 } 66 else 67 { 68 m_reg_ctx_sp.reset(); 69 } 70 } --- 191 unchanged lines hidden --- | 63 } 64 } 65 } 66 else 67 { 68 m_reg_ctx_sp.reset(); 69 } 70 } --- 191 unchanged lines hidden --- |