android_system_core/debuggerd/libdebuggerd
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
..
include/libdebuggerd Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
test Remove dead non-proto tombstone reporting code. 2022-03-07 17:03:18 -08:00
backtrace.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
gwp_asan.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
scudo.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
tombstone.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
tombstone_proto.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
tombstone_proto_to_text.cpp debuggerd: add the PAC keys to the tombstones. 2022-01-13 15:03:19 -08:00
utility.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00