Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48e5ce8b authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

debuggerd: fix `debuggerd -b <pid>` am: b53f903c

am: b5be6e30

Change-Id: I9996765b2da89a8cf041447d147c28f49fda6b42
parents ed967379 b5be6e30
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -322,7 +322,7 @@ int main(int argc, char** argv) {
  bool fatal_signal = signo != DEBUGGER_SIGNAL;
  bool fatal_signal = signo != DEBUGGER_SIGNAL;
  std::set<pid_t> siblings;
  std::set<pid_t> siblings;
  std::set<pid_t> attached_siblings;
  std::set<pid_t> attached_siblings;
  if (fatal_signal) {
  if (fatal_signal || backtrace) {
    if (!android::procinfo::GetProcessTids(target, &siblings)) {
    if (!android::procinfo::GetProcessTids(target, &siblings)) {
      PLOG(FATAL) << "failed to get process siblings";
      PLOG(FATAL) << "failed to get process siblings";
    }
    }