android_system_core/debuggerd
Meng Hu 50257cf18b debuggerd: Show function names in tombstone backtraces
This change enables debuggerd to provide backtraces with function
names in tombstone files and log messages.  It does this by reading
the image file that the address is found in, and parsing the dynamic
symbol table to try to extract the symbol corresponding to the given
address.

This works best when "-Wl,-export-dynamic" is added to the LDFLAGS
of each library and executable, because this will cause all symbols
to be added to the dynamic symbol table.  If this flag is not present,
it will still work, but it will only be able to identify functions
which are part of the external API of the library/executable.

Orig-Change-Id: I618baaff9ed9143b7d1a1f302224e9f21d2b0626
2011-06-15 15:09:46 +02:00
..
Android.mk debuggerd: Show function names in tombstone backtraces 2011-06-15 15:09:46 +02:00
crasher.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
crashglue.S Add missing symbol type directives. 2009-12-03 17:20:58 -08:00
debuggerd.c debuggerd: Show function names in tombstone backtraces 2011-06-15 15:09:46 +02: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
pr-support.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
symbol_table.c debuggerd: Show function names in tombstone backtraces 2011-06-15 15:09:46 +02:00
symbol_table.h debuggerd: Show function names in tombstone backtraces 2011-06-15 15:09:46 +02:00
unwind-arm.c debuggerd: Show function names in tombstone backtraces 2011-06-15 15:09:46 +02:00
utility.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
utility.h debuggerd: Show function names in tombstone backtraces 2011-06-15 15:09:46 +02: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