diff --git a/debuggerd/crash_dump.cpp b/debuggerd/crash_dump.cpp index c14593393..58eaed717 100644 --- a/debuggerd/crash_dump.cpp +++ b/debuggerd/crash_dump.cpp @@ -322,7 +322,7 @@ int main(int argc, char** argv) { bool fatal_signal = signo != DEBUGGER_SIGNAL; std::set siblings; std::set attached_siblings; - if (fatal_signal) { + if (fatal_signal || backtrace) { if (!android::procinfo::GetProcessTids(target, &siblings)) { PLOG(FATAL) << "failed to get process siblings"; }