- Add MIPS variants by parsing e_flags of the ELF
- Create RegisterInfoInterface and RegisterContext for MIPS64 and MIPS64EL
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Set the generic registers numbers for the function arguments with LLDB_REGNUM_GENERIC_ARG* and you will be good to go.
source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp | ||
---|---|---|
59–67 ↗ | (On Diff #21484) |
Comment Actions
The integration into NativeThread and NativeProcess looks good.
source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp | ||
---|---|---|
100–112 ↗ | (On Diff #21484) | Please simplify it. I think it should be just a "return k_num_register_sets;" |
source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp | ||
---|---|---|
59–67 ↗ | (On Diff #21484) | There are up to 8 integer (r4 to r11) and floating-point argument registers (fp12 to fp19) depending on ABI and availability of FPU. First four integer (r4 to r7) argument registers are ABI independent. We will provide generic register numbers for these registers. |