forked from OSchip/llvm-project
Handle the case of interworking branch for EmulateLDMDA.
llvm-svn: 125392
This commit is contained in:
parent
18f6a33457
commit
f1075ce0e6
|
@ -1996,7 +1996,8 @@ EmulateInstructionARM::EmulateLDMDA (ARMEncoding encoding)
|
|||
uint32_t data = ReadMemoryUnsigned (context, address + offset, addr_byte_size, 0, &success);
|
||||
if (!success)
|
||||
return false;
|
||||
if (!WriteRegisterUnsigned (context, eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC, data))
|
||||
// In ARMv5T and above, this is an interworking branch.
|
||||
if (!LoadWritePC(context, data))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue