platform_system_core/libcutils
Christopher Ferris a9fa7b87f1 Use the correct debuggerd given the tid.
On 64 bit systems, calling dump_backtrace_to_file will automatically
call debuggerd64. If the process to dump is actually 32 bit, this
creates an unrecognizable dump backtrace. Modify the code to check the
type of the process and connect to the appropriate debuggerd process.

This change refactors both the tombstone and backtrace functionality to
allow both to work properly on 64 bit systems when dealing with mixed
processes.

Bug: 17487122
Change-Id: Icf123a6f4508b1aeec073663aa1a0ceae5380aa1
2014-09-12 20:12:11 -07:00
..
arch-arm Add android_memset16/android_memset32 for aarch64. 2014-06-23 19:28:33 -07:00
arch-arm64 Add android_memset16/android_memset32 for aarch64. 2014-06-23 19:28:33 -07:00
arch-mips Add Mips memset speedup 2012-08-29 12:33:50 -07:00
arch-x86 Add Silvermont architecture cache sizes 2014-04-18 11:31:54 +08:00
arch-x86_64 Port libcutils memset16/32 to x86_64. 2014-06-05 18:51:44 -07:00
tests Add android_memset16/android_memset32 for aarch64. 2014-06-23 19:28:33 -07:00
Android.mk Remove invalid 64-bit host objects. 2014-07-25 10:39:38 -07:00
android_reboot.c libcutils: fix rw FS remount check issue 2014-06-02 22:45:37 -07:00
ashmem-dev.c fix valgrind ioctl warning. 2013-08-31 18:57:46 -04:00
ashmem-host.c Make host ashmem_create_region seed only once. 2014-06-03 11:47:58 -07:00
atomic.c Fail-proof the inline directives for SMP atomic operations. 2012-12-07 11:07:10 -08:00
config_utils.c Config utils improvement 2011-05-26 13:57:03 -07:00
cpu_info.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
debugger.c Use the correct debuggerd given the tid. 2014-09-12 20:12:11 -07:00
dir_hash.c Fix a bunch of small system/core bugs. 2013-10-29 14:12:46 -07:00
dlmalloc_stubs.c Fix libcutils/dlmalloc_stubs.c build breakage. 2014-06-03 20:48:44 -07:00
fs.c fs_mkdirs: use O_NOFOLLOW and O_CLOEXEC 2014-06-16 15:40:40 -07:00
hashmap.c libcutils: hashmap: save next pointer in forEach before calling callback 2011-04-19 15:16:18 -07:00
iosched_policy.c Fix windows sdk build. 2014-06-13 04:09:37 +00:00
klog.c libcutils: add method to get klog level 2014-03-07 13:58:02 -08:00
load_file.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
loghack.h Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 11:03:26 +00:00
memory.c Assembly coded android_memset16 and android_memset32 2011-01-07 11:26:34 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
multiuser.c File-system utilities for installd and zygote. 2012-08-30 10:29:41 -07:00
native_handle.c move native_handle stuff from master_gl 2009-05-20 17:22:13 -07:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
open_memstream.c Try to fix Mac build. 2010-01-26 09:30:02 -08:00
partition_utils.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
process_name.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
properties.c libcutils: Fix warnings in properties.c when verbose logging is enabled 2014-06-20 15:57:09 -07:00
qtaguid.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
record_stream.c HACK: cutils: restore record_stream temporarily 2013-06-04 17:40:28 +00:00
sched_policy.c Move sched_policy.c off bionic's PR_SET_TIMERSLACK_PID. 2014-07-17 17:15:14 -07:00
socket_inaddr_any_server.c libcutils: win_sdk build issues 2014-05-05 10:29:56 -07:00
socket_local.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
socket_local_client.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
socket_local_server.c libcutils: Socket type might contain bitwise OR flags 2014-02-26 11:33:45 -08:00
socket_loopback_client.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
socket_loopback_server.c libcutils: win_sdk build issues 2014-05-05 10:29:56 -07:00
socket_network_client.c Fix win32 undefined reference to `_socket_network_client_timeout'. 2014-05-20 12:13:29 -07:00
sockets.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
str_parms.c am a0a461d3: am 82e1b89f: am a32e01d2: Merge "libcutils: turn on -Werror" 2014-05-02 17:12:27 +00:00
strdup8to16.c auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:37 -07:00
strdup16to8.c Fix a potential integer overflow bug that could result in memory overwrites. 2009-05-02 19:43:30 +02:00
threads.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
trace.c libcutils: turn on -Werror 2014-05-01 17:58:17 -07:00
uevent.c cutils: return the remote uid on netlink recv failure 2012-03-29 17:07:24 -07:00