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

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

debuggerd: fix `debuggerd -b <pid>` am: b53f903c am: b5be6e30 am: 48e5ce8b

am: 98175e5e

Change-Id: I8aec2562fcc566d883ea2bcdda9df373ea54935c
parents 87bcab67 98175e5e
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";
    }
    }