platform_system_core/debuggerd
Andy McFadden 41e0cef301 Append log data to tombstones
The Android Problem Report site shows tombstones uploaded from
devices.  We can see the native stack traces for every thread,
but sometimes there's a very important bit of information sitting
in the log, and without it we can't analyze the failure.

This change modifies debuggerd so that the log contents for the
crashing process are appended to the tombstone.  The format matches
the output of "logcat -v threadtime".  Both "system" and "main" logs
are included (but not interleaved -- we're not that fancy).

This feature is only enabled when the "ro.debuggable" system property
is set to 1 (indicating a development device).

Bug 5456676

Change-Id: I3be1df59813ccf1058cec496a906f6d31fbc7b04
2011-10-13 16:05:08 -07:00
..
arm Show maps near native fault address 2011-10-13 12:35:55 -07:00
x86 Fix crash reporting on x86 platform. 2011-06-07 09:24:03 -07:00
Android.mk remove crasher and vfp-crasher from standard builds 2011-01-23 17:51:54 -08: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
crasher.c debuggerd: Reorganize to facilitate IA commit 2010-11-29 11:03:48 -08:00
debuggerd.c Append log data to tombstones 2011-10-13 16:05:08 -07:00
debuggerd.h debuggerd: IA version 2010-11-29 11:28:11 -08:00
getevent.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
symbol_table.c debuggerd: Fix missing include. 2011-02-01 14:38:30 +01:00
symbol_table.h debuggerd: IA version 2010-11-29 11:28:11 -08:00
utility.c Show maps near native fault address 2011-10-13 12:35:55 -07:00
utility.h Show maps near native fault address 2011-10-13 12:35:55 -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