platform_system_core/debuggerd/test
Christopher Ferris 99235e9967 Fix problem with wait_for_gdb.
When someone enables wait_for_gdb, activity manager will kill the
stopped process before a developer can attach to the process. To
allow debugging in this case, change the code to only contact the
activity manager right before continuing the process that is
crashing.

Also, modify the conditions under which to do a gdb attach. The previous
code did a partial attach if perform_dump failed. The new version simply
allows an attach regardless of whether perform_dump passes or fails.

Bug: 28409358
(cherry picked from commit 9818bd2bbe)

Change-Id: I42f464b69332748e16b07d9d00f44b3aa26ce8b7
2016-05-05 10:50:39 -07:00
..
selinux debuggerd_test: provide stub selinux/android.h 2015-12-21 16:29:02 -08:00
sys Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
BacktraceMock.h Dump memory going from unreadable to readable. 2015-07-09 15:35:47 -07:00
dump_memory_test.cpp Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
elf_fake.cpp Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
elf_fake.h Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
host_signal_fixup.h Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
log_fake.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
log_fake.h Refactor dump_memory function. 2015-05-27 17:21:38 -07:00
property_fake.cpp Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
ptrace_fake.cpp Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
ptrace_fake.h Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
selinux_fake.cpp Change the 64 bit map address format. 2015-06-03 10:24:21 -07:00
tombstone_test.cpp Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00