summaryrefslogtreecommitdiffstats
path: root/debuggerd
Commit message (Collapse)AuthorAgeFilesLines
* am b791f04c: am e5d38ad8: am dc5442c0: Merge "Add missing si_code values to ↵Elliott Hughes2014-04-241-6/+10
|\ | | | | | | | | | | | | debuggerd." * commit 'b791f04c02af8ae7058b8d597d601e4e94ceb8e0': Add missing si_code values to debuggerd.
| * Add missing si_code values to debuggerd.Elliott Hughes2014-04-241-6/+10
| | | | | | | | | | | | Also add static_asserts so we'll be notified if any more new ones show up. Change-Id: I3a502dd4da35354e1ac65865191d31ccdacef298
* | am 6d7a2ee4: am b1bcd9c3: am 6798914b: Merge "Improve liblog\'s fatal logging."Elliott Hughes2014-04-241-21/+28
|\ \ | |/ | | | | | | * commit '6d7a2ee4e8b590071042ae424a3e8c951f198a8f': Improve liblog's fatal logging.
| * Improve liblog's fatal logging.Elliott Hughes2014-04-241-21/+28
| | | | | | | | | | | | | | This makes LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF as good as regular assert(3). Change-Id: I0666684d30cae7baf23c64b33d35c1e43f81acf0
* | am f7770d59: am 19697f3e: am 3ad0af6d: Merge "logd: liblog: logcat: ↵Mark Salyzyn2014-04-171-1/+2
|\ \ | |/ | | | | | | | | | | debuggerd: Add LOG_ID_CRASH" * commit 'f7770d59dfdc5b3b6fe94f167636b75c1c5d4a81': logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH
| * logd: liblog: logcat: debuggerd: Add LOG_ID_CRASHMark Salyzyn2014-04-161-1/+2
| | | | | | | | Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
* | am 47de0060: am bd514144: am 47770b73: Merge "debuggerd: use LOCAL_MULTILIB"Colin Cross2014-03-272-92/+75
|\ \ | |/ | | | | | | * commit '47de0060757b90737f1a409acd99fa4372efbf07': debuggerd: use LOCAL_MULTILIB
| * debuggerd: use LOCAL_MULTILIBColin Cross2014-03-262-92/+75
| | | | | | | | | | | | | | Use LOCAL_MULTILIB to build multiple versions of executables instead of manually creating two build rules. Change-Id: I1a993ff7b5f527a88735f46eec9822bb97d16490
* | am c5f3e0dc: am 594f0917: am a6b77056: Merge "build debuggerd and ↵Colin Cross2014-02-132-50/+89
|\ \ | |/ | | | | | | | | | | debuggerd64 on 64-bit architectures" * commit 'c5f3e0dc092a3132b93d6784103c089ea9cf12ce': build debuggerd and debuggerd64 on 64-bit architectures
| * build debuggerd and debuggerd64 on 64-bit architecturesColin Cross2014-02-122-50/+89
| | | | | | | | Change-Id: I1518d45ae0c5e0fed31d071fdaf19a67bad1bdfc
* | am e41420bd: am 488b5eaf: am 2e7347d6: Merge "Convert all ↵Nick Kralevich2014-02-131-1/+1
|\ \ | |/ | | | | | | | | | | selinux_android_restorecon and _setfilecon calls to new API." * commit 'e41420bd8cbaa69f6eaca524b2412cb92a6d18a3': Convert all selinux_android_restorecon and _setfilecon calls to new API.
| * Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."Nick Kralevich2014-02-121-1/+1
| |\
| | * Convert all selinux_android_restorecon and _setfilecon calls to new API.Stephen Smalley2014-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libselinux selinux_android_restorecon API is changing to the more general interface with flags and dropping the older variants. Also get rid of the old, no longer used selinux_android_setfilecon API and rename selinux_android_setfilecon2 to it as it is the only API in use. Change-Id: I1e71ec398ccdc24cac4ec76f1b858d0f680f4925 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | | am 25a619fb: am 48e81834: am 4207df11: Merge "Use stat structure to keep ↵Christopher Ferris2014-02-101-20/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | oldest mtime." * commit '25a619fb30ac04ee534a749ff238900845b64bb6': Use stat structure to keep oldest mtime.
| * | Merge "Use stat structure to keep oldest mtime."Christopher Ferris2014-02-081-20/+11
| |\ \
| | * | Use stat structure to keep oldest mtime.Christopher Ferris2014-02-071-20/+11
| | |/ | | | | | | | | | Change-Id: If9496127db28d2dcd09bc5b3144632a43afb8d55
* | | am 00010369: am 3bff7e3e: am 136a9619: Merge "Use socklen_t instead of int ↵Elliott Hughes2014-02-101-11/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | in debuggerd." * commit '00010369a6a4d9b3db58a22dfeca258f328147da': Use socklen_t instead of int in debuggerd.
| * | Use socklen_t instead of int in debuggerd.Elliott Hughes2014-02-071-11/+9
| |/ | | | | | | | | | | Also other trivial C++ cleanup. Change-Id: I9b5278c5205e0ea4f9dcbbe3e7b99921dd2436dc
* | am b30b159f: am 61e92a02: am 68835ee8: Merge "system/core LP64 cleanup."Elliott Hughes2014-02-061-4/+4
|\ \ | |/ | | | | | | * commit 'b30b159f709a94a0fb1d62aa1ed7b0da8a51120d': system/core LP64 cleanup.
| * system/core LP64 cleanup.Elliott Hughes2014-02-051-4/+4
| | | | | | | | | | | | | | Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat warnings. Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
* | am f51bee45: am 784b6181: am cf53e5db: Merge "Fix debuggerd\'s symbol offset ↵Elliott Hughes2014-02-031-2/+2
|\ \ | |/ | | | | | | | | | | output." * commit 'f51bee45b015730b5f2759e89882c0cb457c22a3': Fix debuggerd's symbol offset output.
| * Fix debuggerd's symbol offset output.Elliott Hughes2014-01-311-2/+2
| | | | | | | | | | | | | | | | | | | | Before: 00007fff33e489d8 00007ff286e4ad94 /system/lib64/libc.so (__libc_init+54u) After: 00007fff45c6c158 00007f61bc36fd94 /system/lib64/libc.so (__libc_init+84) Change-Id: I36796c99843a41583824a96793a5a4c81ddb666e
* | am 5cbb68cf: am da9b5dab: am 434edbe6: Merge "LP64 should have debuggerd and ↵Elliott Hughes2014-02-011-1/+5
|\ \ | |/ | | | | | | | | | | debuggerd64." * commit '5cbb68cf891fa040563c70784363496cf3e05174': LP64 should have debuggerd and debuggerd64.
| * LP64 should have debuggerd and debuggerd64.Elliott Hughes2014-01-311-1/+5
| | | | | | | | Change-Id: I4e39c200e6867bb9a5bbcfec1c449b8864028feb
* | am f1935b6d: am 2e9dcd21: am 1bc6169f: Merge "Remove dead code that looked ↵Elliott Hughes2014-02-011-13/+0
|\ \ | |/ | | | | | | | | | | like part of debuggerd." * commit 'f1935b6d933861d6194bf056a844ec0f11765c38': Remove dead code that looked like part of debuggerd.
| * Remove dead code that looked like part of debuggerd.Elliott Hughes2014-01-311-13/+0
| | | | | | | | | | | | | | Note that these were two different functions. The definition was unused, and the declaration was undefined. Change-Id: I2edd10a0ab9422cd5252bdb9ccdd726dc5fad531
* | am 6beca66f: am 3f94aa5f: am 51c4d4c4: Merge "AArch64: Port debuggerd"Elliott Hughes2014-01-317-7/+220
|\ \ | |/ | | | | | | * commit '6beca66f9ceaf5733ff5a4a00f1d272e42e871a2': AArch64: Port debuggerd
| * AArch64: Port debuggerdKévin PETIT2014-01-307-7/+220
| | | | | | | | | | Change-Id: Ib18f76f375a1d70c84e0a09d221e17ac43144b96 Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
* | am fe0d5d42: am 5434bf66: Merge "LP64: Enable debuggerd/libbacktrace/libunwind."Elliott Hughes2014-01-316-66/+106
|\ \ | |/ | | | | | | * commit 'fe0d5d42e4ca8b77d6a0657be1b8b6343c21d689': LP64: Enable debuggerd/libbacktrace/libunwind.
| * LP64: Enable debuggerd/libbacktrace/libunwind.Pavel Chupin2014-01-306-66/+106
| | | | | | | | | | Change-Id: I2e432839f86c33c2adbaac8cc12ca8961956044b Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | am 480fdd52: am e97dad0d: Merge "debuggerd: a few generic improvements"Elliott Hughes2014-01-315-129/+104
|\ \ | |/ | | | | | | * commit '480fdd524da3aa24429e46b81f52651f95c1c59a': debuggerd: a few generic improvements
| * debuggerd: a few generic improvementsKévin PETIT2014-01-305-129/+104
| | | | | | | | | | | | | | | | | | | | This one makes dump_memory reasonably architecture-agnostic so it is possible to share the code between architectures. It also includes a few small improvements in tombstone.cpp. Change-Id: Ib8a9599bfa420b41e80207988e87aee1b9d79541 Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
* | am 36a4e408: am aaf89887: am 6fe31b2f: am d391c9b4: Merge "Re-enable ↵Christopher Ferris2014-01-291-9/+3
|\ \ | |/ | | | | | | | | | | libunwind for arm." * commit '36a4e4085e55048ee2a78c7d5b50f7395e547fa2': Re-enable libunwind for arm.
| * Merge "Re-enable libunwind for arm."Christopher Ferris2014-01-281-9/+3
| |\
| | * Re-enable libunwind for arm.Christopher Ferris2014-01-281-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to handle the new optimized way that libunwind works. In addition, a small refactor of the BacktraceMap code. A few new tests of for good measure. Change-Id: I2f9b4f5ad5a0dfe907b31febee76e4b9b94fb76f
* | | resolved conflicts for merge of 3a5f3050 to masterMark Salyzyn2014-01-281-13/+11
|\ \ \ | |/ / | | | | | | Change-Id: I87f51ba0dcc8187a3e620fab96c078e6614b28a2
| * | debuggerd: Support newline split in log messagesMark Salyzyn2014-01-271-10/+18
| | | | | | | | | | | | | | | | | | (cherry picked from commit 706fad2b5fd96fb9b705795af1c11ef44d8a8fe9) Change-Id: I2c19f12ef027ab1e1455ce78824537da1b03edcd
| * | debuggerd: Incorporate liblog reading APIMark Salyzyn2014-01-271-59/+38
| |/ | | | | | | | | | | (cherry picked from commit a63f927ce10817ce637dd52ba2f4ac763ce4fc61) Change-Id: Ic26e9dba3b45c827d122b03e34cc4a5bd48f7deb
* | resolved conflicts for merge of 47fa9064 to masterChristopher Ferris2014-01-171-38/+40
|\ \ | |/ | | | | Change-Id: I53fb8ff2dfbefe6246385e624c5c3525cc6f4253
| * Rewrite libbacktrace to be all C++.Christopher Ferris2014-01-161-38/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | This includes removing the map_info.c source and replacing it with the BacktraceMap class to handle all map related code. Change all callers of libbacktrace map functionality. Also modify the corkscrew thread code so that it doesn't need to build the map twice (once in the corkscrew format and once in the libbacktrace format). Change-Id: I32865a39f83a3dd6f958fc03c2759ba47d12382e
* | debuggerd: Support newline split in log messagesMark Salyzyn2014-01-161-9/+18
| | | | | | | | Change-Id: I2c19f12ef027ab1e1455ce78824537da1b03edcd
* | resolved conflicts for merge of 8791ee5c to masterChristopher Ferris2014-01-1310-1712/+1621
|\ \ | |/ | | | | Change-Id: I107bb055941809331c451c1d903f231f07a86ece
| * Next phase of the move, reformat use C++ features.Christopher Ferris2014-01-1310-1742/+1645
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the libbacktrace C++ interface instead of the C interface in debuggerd. Reformat the debuggerd code to be closer to Google C++ style. Fix all debuggerd casts to be C++ casts. Add a frame number to the frame data structure for ease of formatting and add another FormatFrameData function. Change the format_test to use the new FormatFrameData function. Modify all of the backtrace_test to use the C++ interface. Change-Id: I10e1610861acf7f4a3ad53276b74971cfbfda464
* | am c37fec6d: am 715752cd: am a7083e0d: am 8387fc93: Merge "Move to C++ for ↵Christopher Ferris2014-01-119-14/+22
|\ \ | |/ | | | | | | | | | | debuggerd." * commit 'c37fec6d61dc2650a0a92983dc8d577f9e19520d': Move to C++ for debuggerd.
| * Move to C++ for debuggerd.Christopher Ferris2014-01-109-14/+22
| | | | | | | | | | | | | | | | | | This is part 1, only including the bare minimum changes because our diff tool doesn't easily show differences when a file moves. This also breaks it into a small chunk in case some other changes break things, as unlikely as I think that will be. Change-Id: Ib7a3e7a2cc1ac574d15b65fda23813ebcf5d31af
* | am 7fd0ea9b: am c555476e: am 1972955e: am 99775d87: Merge "Use the more ↵Elliott Hughes2014-01-101-1/+1
|\ \ | |/ | | | | | | | | | | portable <elf.h> instead of <sys/exec_elf.h>." * commit '7fd0ea9bb19dd0136706dab02454f9a642807a07': Use the more portable <elf.h> instead of <sys/exec_elf.h>.
| * Use the more portable <elf.h> instead of <sys/exec_elf.h>.Elliott Hughes2014-01-101-1/+1
| | | | | | | | | | Bug: 12476126 Change-Id: I08684987e867371d5537dadf1acb3408b420ad0c
* | resolved conflicts for merge of 72f204de to masterChristopher Ferris2014-01-081-4/+9
|\ \ | |/ | | | | Change-Id: I7345014d00c669aea5e27ea50b2ac658145b068b
| * Refactor to share map_info amongst threads.Christopher Ferris2014-01-081-4/+9
| | | | | | | | | | | | | | Allow the use of the same map info to be shared when getting information on multiple threads from the same pid. Change-Id: I2e460e20154a10f4894ae563331fb32179e4551f
* | debuggerd: Incorporate liblog reading APIMark Salyzyn2014-01-021-66/+34
|/ | | | Change-Id: Ic26e9dba3b45c827d122b03e34cc4a5bd48f7deb