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

Commit b53f903c authored by Josh Gao's avatar Josh Gao
Browse files

debuggerd: fix `debuggerd -b <pid>`

Dump all of the threads when using `debuggerd -b`.

Bug: http://b/34719257
Test: `debuggerd -b mediaserver`
Change-Id: I2f57100985e5b0c2bf019482ba9feff31921692f
parent 4ed00c8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
    }