forked from OSchip/llvm-project
Make sure if a thread specifies a 'register_data_addr' in a python operating system plug-in, that is is used to fetch the register values.
llvm-svn: 224083
This commit is contained in:
parent
cd255b3111
commit
482f9be175
|
@ -59,7 +59,7 @@ RegisterContextThreadMemory::UpdateRegisterContext ()
|
|||
{
|
||||
OperatingSystem *os = process_sp->GetOperatingSystem ();
|
||||
if (os->IsOperatingSystemPluginThread (thread_sp))
|
||||
m_reg_ctx_sp = os->CreateRegisterContextForThread (thread_sp.get(), LLDB_INVALID_ADDRESS);
|
||||
m_reg_ctx_sp = os->CreateRegisterContextForThread (thread_sp.get(), m_register_data_addr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue