diff --git a/tools/process_dump/dfx_unwind_remote.cpp b/tools/process_dump/dfx_unwind_remote.cpp index 3242fccea8666fab8e0b0cd61fbadc390a5d6515..2dac9e35be8c016de4695205dc4389a096c90a28 100644 --- a/tools/process_dump/dfx_unwind_remote.cpp +++ b/tools/process_dump/dfx_unwind_remote.cpp @@ -233,9 +233,7 @@ void DfxUnwindRemote::InitOtherThreadRegs(std::shared_ptr process) } for (auto &thread : process->GetOtherThreads()) { - if (thread->Attach(PTRACE_ATTATCH_OTHER_THREAD_TIMEOUT)) { - thread->SetThreadRegs(DfxRegs::CreateRemoteRegs(thread->threadInfo_.nsTid)); - } + thread->SetThreadRegs(DfxRegs::CreateRemoteRegs(thread->threadInfo_.nsTid)); } }