platform_system_core/debuggerd
Andy McFadden 424e07fcf6 Reduce suicidal tendencies
Some changes to debuggerd:

(1) Send a SIGSTOP to the target process before doing any of the
PTRACE_ATTACH work.  This causes the threads that weren't hit by
the signal to stop moving, which seems to get rid of the "ptrace
detach failed: No such process" problems that result in missed
stack traces and debuggerd self-immolation.

(2) SIGPIPE was in the list of "interesting" signals caught by
debugger_signal_handler(), but debuggerd didn't recognize it, and
you'd get "unexpected signal 13" complaints.  It's now in the list.

(3) Fixed a bit-rotted XLOG.

Change-Id: I33297ea6b09ce450671c07dc25846f684afbf480
2012-03-08 15:42:30 -08:00
..
arm Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
x86 Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
Android.mk Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
crasher.c debuggerd: Reorganize to facilitate IA commit 2010-11-29 11:03:48 -08:00
debuggerd.c Reduce suicidal tendencies 2012-03-08 15:42:30 -08:00
getevent.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
utility.c Improve backtrace formatting. 2011-11-22 12:13:46 -08:00
utility.h Improve stack unwinder robustness. 2011-11-04 01:11:04 -07:00
vfp-crasher.c Dump VFP registers and status word when native app crashes. 2009-12-17 12:53:06 -08:00
vfp.S Use arch flags instead of TARGET_ARCH_VARIANT, and add support for VFP_D16 2010-03-10 14:36:08 -08:00