DavidSpickett added a comment. And testing would require the test to `sudo ...` so I don't think this can be tested.
================ Comment at: lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp:235 + std::error_code(errno, std::generic_category()), + "The current value of ptrace_scope is %d, which can cause ptrace to " + "fail to attach to a running process. To fix this, run:\n" ---------------- Tell me if I understand correctly. This error is only used if you've already failed to attach. So if you had a value of 1 or 2, but attaching worked fine, you wouldn't see this. Which is why you've said "which can cause" instead of "does cause". As there are some situations with 1 or 2 that do work. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D144904/new/ https://reviews.llvm.org/D144904 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits