[Lldb-commits] [PATCH] D20368: Remove Platform usages from NativeProcessLinux

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed May 18 07:52:28 PDT 2016


labath added a comment.

@nitesh.jain: I have checked that this compiles, but I could not verify the functionality for lack of hardware. Could you give this a spin? I am particularly interested in the "debugging 32 bit process with a 64 bit server" use case as that is most likely to break. If it does, you can probably fix it by tweaking the number passed to `GetThreadArchitecture` -- it should be the size that the ptrace(GETREGSET, NT_PRSTATUS) returns for a 64-bit process.

@uweigand: This should not affect functionality in any way, as you don't do multiarch (afaik), but the changes to the register context were eyeballed, so I'm not sure if it actually compiles.


http://reviews.llvm.org/D20368





More information about the lldb-commits mailing list