debuggerd: fix debuggerd -b <pid>

am: b53f903cf1

Change-Id: I1debdd851ae51a5e9aeeca9f7c7f970518c17283
This commit is contained in:
Josh Gao 2017-01-31 04:02:33 +00:00 committed by android-build-merger
commit b5be6e3017

View file

@ -322,7 +322,7 @@ int main(int argc, char** argv) {
bool fatal_signal = signo != DEBUGGER_SIGNAL;
std::set<pid_t> siblings;
std::set<pid_t> attached_siblings;
if (fatal_signal) {
if (fatal_signal || backtrace) {
if (!android::procinfo::GetProcessTids(target, &siblings)) {
PLOG(FATAL) << "failed to get process siblings";
}