For O32 abi register size should be 4 bytes.
For N32 and N64 abi register size should be 8 bytes.
This patch will make register read/write to set/get the size of register according to abi.
Details
Details
- Reviewers
clayborg tberghammer
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks good
source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp | ||
---|---|---|
1391 | (nit): I would prefer to use the following syntax, but don't feel strongly about it: (arch.GetFlags() & lldb_private::ArchSpec::eMIPSABI_O32) ? 4 : 8 |
(nit): I would prefer to use the following syntax, but don't feel strongly about it: