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

Jaydeep Patil via lldb-commits lldb-commits at lists.llvm.org
Sun May 22 22:22:04 PDT 2016


jaydeep added a comment.




================
Comment at: source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp:53
@@ -22,2 +52,3 @@
+
 NativeRegisterContextLinux::NativeRegisterContextLinux(NativeThreadProtocol &native_thread,
                                                        uint32_t concrete_frame_idx,
----------------
We have tried executing ptrace(NT_PRSTATUS) on MIPS with 3.18. It is able to detect the arch correctly (64->64 and 64->32). However with 3.10 it fails with EIO. Is there any fallback method when ptrace(NT_PRSTATUS) fails?


http://reviews.llvm.org/D20368





More information about the lldb-commits mailing list