debuggerd: fix debuggerd -b <pid> am: b53f903cf1

am: b5be6e3017

Change-Id: I9996765b2da89a8cf041447d147c28f49fda6b42
This commit is contained in:
Josh Gao 2017-01-31 04:04:59 +00:00 committed by android-build-merger
commit 48e5ce8bd3

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";
}