[Lldb-commits] [PATCH] D20368: Remove Platform usages from NativeProcessLinux
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri May 20 05:10:55 PDT 2016
labath added inline comments.
Comment at: source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp:39
@@ +38,3 @@
+ int regset = NT_PRSTATUS;
+ Error error = NativeProcessLinux::PtraceWrapper(PTRACE_GETREGSET, tid, ®set, &ioVec, sizeof_native_regs_struct);
+ HostInfo::ArchitectureKind kind = HostInfo::eArchKindDefault; // same bitness this process
> Ptrace call with ptrace request "PTRACE_GETREGSET" is failing for MIPS. We are currently investigating the reason for the failure. I will let you know asap.
Thanks for checking it out. I'll hold this for now.
Out of curiosity, what is errno being set to after this? Also, in which scenario does this happen (64->64 or 64->32, 32->32)?
More information about the lldb-commits