android_system_core/debuggerd/handler
Christopher Ferris 7c2e7e31f6 Fix fallback paths for dumping threads.
In the fallback path, if the non-main thread is the target
to be dumped, then no other threads are dumped when creating
a tombstone. Fix this and add unit tests to verify that
this all threads, including the main thread are dumped.

Bug: 234058038

Test: All unit tests pass.
Test: debuggerd -b media.swcodec process
Test: debuggerd media.swcodec process
Change-Id: Ibb75264f7b3847acdbab939a66902d986c0d0e5c
2022-05-27 13:05:56 -07:00
..
debuggerd_fallback.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
debuggerd_fallback_nop.cpp debuggerd: unify licenses. 2021-06-18 15:49:30 -07:00
debuggerd_handler.cpp Always use main thread pid for manual dumping. 2021-07-30 14:08:03 -07:00
fallback.h Fix multithreaded backtraces for seccomp processes. 2018-09-12 18:12:13 -07:00