[Lldb-commits] [PATCH] D24603: [LLDB][MIPS] fix Floating point register read/write for big endian

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 21 10:01:58 PDT 2016


clayborg requested changes to this revision.
clayborg added a comment.
This revision now requires changes to proceed.

So it seems like this can be fixed by doing a few things:
1 - just set the RegisterInfo.offset to the actual offset in the buffer and don't use the offset as the ptrace key used to grab the register
2 - modify the RegisterInfo.kinds[eRegisterKindProcessPlugin] to be the offset to you to use for ptrace

There should be no need what so ever to do manual bit twiddling with src and dst.


https://reviews.llvm.org/D24603





More information about the lldb-commits mailing list