Fixed an error with the 'G' packet on ARM when using the default GDB
register set where it could get an error when trying to restore the fake "f0" - "f7" 12 byte float regs. llvm-svn: 150781
This commit is contained in:
parent
aa9a3eae79
commit
23a17953e7
|
@ -2512,8 +2512,11 @@ RNBRemote::HandlePacket_G (const char *p)
|
|||
if (packet.GetHexBytes (reg_value.value.v_sint8, reg_entry->gdb_size, 0xcc) != reg_entry->gdb_size)
|
||||
break;
|
||||
|
||||
if (!DNBThreadSetRegisterValueByID (pid, tid, reg_entry->nub_info.set, reg_entry->nub_info.reg, ®_value))
|
||||
return SendPacket ("E15");
|
||||
if (reg_entry->fail_value == NULL)
|
||||
{
|
||||
if (!DNBThreadSetRegisterValueByID (pid, tid, reg_entry->nub_info.set, reg_entry->nub_info.reg, ®_value))
|
||||
return SendPacket ("E15");
|
||||
}
|
||||
}
|
||||
return SendPacket ("OK");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue