android_system_core/debuggerd
Andy McFadden e5cc5396e8 Add log summary to tombstones
When the tombstones are uploaded to APR, they're truncated at 64KB.
This causes the log data, which is at the end, to be lost if the
process has more than about 12 threads (which many do).

This change adds the last few lines of the log right below the
report for the crashing thread, where we should be guaranteed to
keep it.

Also, clean up trailing newlines on log messages (which end up in
the tombstone), and don't print a "------- log" banner if there
aren't any messages in that log file (e.g. slog).

Also also, don't try to show_nearby_maps unless this is the crashing
thread.

Bug 5471955

Change-Id: Iaa4fd2fafbaeda2f20bb95f202177d7744a91f9d
2011-10-18 20:20:14 -07:00
..
arm Add log summary to tombstones 2011-10-18 20:20:14 -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
crasher.c debuggerd: Reorganize to facilitate IA commit 2010-11-29 11:03:48 -08:00
debuggerd.c Add log summary to tombstones 2011-10-18 20:20:14 -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
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
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