Elliott Hughes
879715333a
am b7fdf4fa
: am 4077acd2
: am 21be143a
: Merge "Fix register dump and back trace after a crash."
...
* commit 'b7fdf4fa82ca8c7446434df65562e833f4dac986':
Fix register dump and back trace after a crash.
2014-05-22 00:33:58 +00:00
Douglas Leung
6254f32f21
Fix register dump and back trace after a crash.
...
Change-Id: Ie5f6624b9dcf81d84769b9cdaf9d8a301c8826f7
Signed-off-by: Douglas Leung <douglas@mips.com>
2014-05-21 16:41:20 -07:00
Elliott Hughes
bb8e90e87e
am f6aa4863
: am 343e49e3
: am 0296be9d
: Merge "Teach debuggerd the name of SIGTRAP."
...
* commit 'f6aa4863a2f1e6f37685520de7f85c96f7b6f1d3':
Teach debuggerd the name of SIGTRAP.
2014-05-17 08:34:57 +00:00
Elliott Hughes
a323b504a7
Teach debuggerd the name of SIGTRAP.
...
Also add SIGTRAP to the list of signals we don't want to double fault on.
Bug: 15024256
Change-Id: I23ab80800563c007fcd3e42527329fedf762f0c8
2014-05-16 21:12:17 -07:00
Elliott Hughes
20b40738bf
am 2aa894f3
: am 2f1cddfd
: am 541859db
: Merge "Remove the broken LED flashing code from debuggerd."
...
* commit '2aa894f3736f6d93fd119b28ea9eb6c531187b68':
Remove the broken LED flashing code from debuggerd.
2014-05-17 04:09:25 +00:00
Elliott Hughes
27ab751c7b
Remove the broken LED flashing code from debuggerd.
...
Change-Id: I4d0cbe14daa90ac5f91ce4597584448ee3c65dda
2014-05-16 20:54:36 -07:00
Elliott Hughes
7393ba0bfd
am 227c3b6c
: am a04bad63
: am 9cb0b571
: Merge "Output correct gdbserver instructions from debuggerd."
...
* commit '227c3b6ce7ef8c011ad2f3d9bebf9a25c4fffb4b':
Output correct gdbserver instructions from debuggerd.
2014-05-17 03:43:53 +00:00
Elliott Hughes
d9bf2b2137
Output correct gdbserver instructions from debuggerd.
...
Bug: 15021938
Change-Id: I2df433d939f5f83ed2a2a30af357b83e4d8e5331
2014-05-16 19:51:41 -07:00
Elliott Hughes
1bcfe061aa
am a7952c5c
: am 5e742107
: am c4afc192
: Merge "Add SIGTRAP support to crasher and debuggerd."
...
* commit 'a7952c5c5911f612fd1f99259f2e06dc9d1b319d':
Add SIGTRAP support to crasher and debuggerd.
2014-05-17 00:50:00 +00:00
Elliott Hughes
c4afc19236
Merge "Add SIGTRAP support to crasher and debuggerd."
2014-05-17 00:39:22 +00:00
Elliott Hughes
7e35ae8fc8
Add SIGTRAP support to crasher and debuggerd.
...
Bug: 15024256
Change-Id: I3f34993fcfd9799306852b0a2195db468370be6e
2014-05-16 17:27:59 -07:00
Mark Salyzyn
eb25db1706
resolved conflicts for merge of f742788a
to master
...
Change-Id: I4f902eb0df09a32cbc19fcccc0747bb6a8e3a48c
2014-05-16 14:02:13 -07:00
Mark Salyzyn
989980c55d
logd: logcat: debuggerd: auditd logs to events
...
- auditd switch to recording logs to events log id
- logcat add events as one of the default logs
- debuggerd collect events log as well.
ToDo: debuggerd & bugreport collect intermixed logs.
BUG: 14626551
Change-Id: I958f0e729b7596748be57488a38824db5645be7b
2014-05-15 08:50:50 -07:00
Elliott Hughes
322d2dc264
am 4776e2e4
: am 1f64d7e1
: am b4866128
: Merge "Fix mips debuggerd <corkscrew/ptrace.h> build breakage."
...
* commit '4776e2e4322b072d278e0ace012a770758973de8':
Fix mips debuggerd <corkscrew/ptrace.h> build breakage.
2014-05-08 18:00:51 +00:00
Elliott Hughes
99d4a697c7
Fix mips debuggerd <corkscrew/ptrace.h> build breakage.
...
The uapi headers have everything we need, and the corkscrew
header files have been removed.
Change-Id: I274b44463638112f1ab290926094c094c9253586
2014-05-07 15:42:41 -07:00
Christopher Ferris
8a1469083d
am 0fd6750e
: am fdadb420
: am b52a48af
: Merge "Log stack even if tombstone cannot be created."
...
* commit '0fd6750ed3116d29cc49cc721fbbd38b3033aa0f':
Log stack even if tombstone cannot be created.
2014-05-05 23:37:12 +00:00
Christopher Ferris
c5bb49a138
Log stack even if tombstone cannot be created.
...
Bug: 14498701
Change-Id: I62c271bef2f73166eeb91d3fa3ce1e1b724a081f
2014-05-05 15:01:14 -07:00
Mark Salyzyn
e49a116657
am d007b59f
: am 44bec3ad
: am 6f3f7d71
: Merge "debuggerd: turn on -Werror"
...
* commit 'd007b59ffa7800fa12e80fa3a070d6e6fe477ae0':
debuggerd: turn on -Werror
2014-05-02 22:18:21 +00:00
Mark Salyzyn
f1a8dfa0eb
debuggerd: turn on -Werror
...
- Deal with some -Wunused / -Wunused-variable issues
Change-Id: I39849fe30170f69d1cab7d4ad2629b3a49e14ee7
2014-05-02 14:16:00 -07:00
Elliott Hughes
84a445b4f5
am 29941ec8
: am f8db4afb
: am ab3d49b0
: Merge "Use the si_code value bionic passes us."
...
* commit '29941ec81705bdcad2b43f0059e1288304c523e8':
Use the si_code value bionic passes us.
2014-04-26 03:33:27 +00:00
Elliott Hughes
855fcc3114
Use the si_code value bionic passes us.
...
Bionic needs to re-raise various signals, which means the si_code
debuggerd sees has been clobbered. If bionic sends us the original
si_code value, we can use that instead of the one we see when the
ptrace the crashed process' siginfo.
Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
2014-04-25 20:20:39 -07:00
Elliott Hughes
a92330c7e2
am b791f04c
: am e5d38ad8
: am dc5442c0
: Merge "Add missing si_code values to debuggerd."
...
* commit 'b791f04c02af8ae7058b8d597d601e4e94ceb8e0':
Add missing si_code values to debuggerd.
2014-04-24 23:22:49 +00:00
Elliott Hughes
bd395b9a14
Add missing si_code values to debuggerd.
...
Also add static_asserts so we'll be notified if any more new ones show up.
Change-Id: I3a502dd4da35354e1ac65865191d31ccdacef298
2014-04-24 13:53:22 -07:00
Elliott Hughes
cef3eff0d9
am 6d7a2ee4
: am b1bcd9c3
: am 6798914b
: Merge "Improve liblog\'s fatal logging."
...
* commit '6d7a2ee4e8b590071042ae424a3e8c951f198a8f':
Improve liblog's fatal logging.
2014-04-24 20:52:48 +00:00
Elliott Hughes
da6b2e2fd7
Improve liblog's fatal logging.
...
This makes LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF as good as regular
assert(3).
Change-Id: I0666684d30cae7baf23c64b33d35c1e43f81acf0
2014-04-24 13:28:24 -07:00
Mark Salyzyn
297c19d75f
am f7770d59
: am 19697f3e
: am 3ad0af6d
: Merge "logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH"
...
* commit 'f7770d59dfdc5b3b6fe94f167636b75c1c5d4a81':
logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH
2014-04-17 23:33:50 +00:00
Mark Salyzyn
99f47a9e7c
logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH
...
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
2014-04-16 15:38:50 -07:00
Colin Cross
66d4797673
am 47de0060
: am bd514144
: am 47770b73
: Merge "debuggerd: use LOCAL_MULTILIB"
...
* commit '47de0060757b90737f1a409acd99fa4372efbf07':
debuggerd: use LOCAL_MULTILIB
2014-03-27 18:29:25 +00:00
Colin Cross
87a6b1d799
debuggerd: use LOCAL_MULTILIB
...
Use LOCAL_MULTILIB to build multiple versions of executables
instead of manually creating two build rules.
Change-Id: I1a993ff7b5f527a88735f46eec9822bb97d16490
2014-03-26 15:16:23 -07:00
Colin Cross
fb31448b6f
am c5f3e0dc
: am 594f0917
: am a6b77056
: Merge "build debuggerd and debuggerd64 on 64-bit architectures"
...
* commit 'c5f3e0dc092a3132b93d6784103c089ea9cf12ce':
build debuggerd and debuggerd64 on 64-bit architectures
2014-02-13 20:38:00 +00:00
Colin Cross
579c9bc8a4
build debuggerd and debuggerd64 on 64-bit architectures
...
Change-Id: I1518d45ae0c5e0fed31d071fdaf19a67bad1bdfc
2014-02-12 22:32:26 -08:00
Nick Kralevich
3049f23915
am e41420bd
: am 488b5eaf
: am 2e7347d6
: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
...
* commit 'e41420bd8cbaa69f6eaca524b2412cb92a6d18a3':
Convert all selinux_android_restorecon and _setfilecon calls to new API.
2014-02-13 00:19:47 +00:00
Nick Kralevich
2e7347d617
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
2014-02-12 23:09:28 +00:00
Christopher Ferris
8a54dea42a
am 25a619fb
: am 48e81834
: am 4207df11
: Merge "Use stat structure to keep oldest mtime."
...
* commit '25a619fb30ac04ee534a749ff238900845b64bb6':
Use stat structure to keep oldest mtime.
2014-02-10 12:51:27 +00:00
Elliott Hughes
54cf89a24b
am 00010369
: am 3bff7e3e
: am 136a9619
: Merge "Use socklen_t instead of int in debuggerd."
...
* commit '00010369a6a4d9b3db58a22dfeca258f328147da':
Use socklen_t instead of int in debuggerd.
2014-02-10 12:51:25 +00:00
Christopher Ferris
4207df11c5
Merge "Use stat structure to keep oldest mtime."
2014-02-08 02:13:58 +00:00
Christopher Ferris
68bd59f6d2
Use stat structure to keep oldest mtime.
...
Change-Id: If9496127db28d2dcd09bc5b3144632a43afb8d55
2014-02-07 18:08:38 -08:00
Elliott Hughes
0df8e4f86c
Use socklen_t instead of int in debuggerd.
...
Also other trivial C++ cleanup.
Change-Id: I9b5278c5205e0ea4f9dcbbe3e7b99921dd2436dc
2014-02-07 12:13:30 -08:00
Stephen Smalley
27a93650c0
Convert all selinux_android_restorecon and _setfilecon calls to new API.
...
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>
2014-02-07 09:38:32 -05:00
Elliott Hughes
260d400593
am b30b159f
: am 61e92a02
: am 68835ee8
: Merge "system/core LP64 cleanup."
...
* commit 'b30b159f709a94a0fb1d62aa1ed7b0da8a51120d':
system/core LP64 cleanup.
2014-02-06 03:07:48 +00:00
Elliott Hughes
5d9fe779c8
system/core LP64 cleanup.
...
Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat
warnings.
Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
2014-02-05 18:02:11 -08:00
Elliott Hughes
32b3697946
am f51bee45
: am 784b6181
: am cf53e5db
: Merge "Fix debuggerd\'s symbol offset output."
...
* commit 'f51bee45b015730b5f2759e89882c0cb457c22a3':
Fix debuggerd's symbol offset output.
2014-02-03 16:59:59 +00:00
Elliott Hughes
f7b4b519e4
Fix debuggerd's symbol offset output.
...
Before:
00007fff33e489d8 00007ff286e4ad94 /system/lib64/libc.so (__libc_init+54u)
After:
00007fff45c6c158 00007f61bc36fd94 /system/lib64/libc.so (__libc_init+84)
Change-Id: I36796c99843a41583824a96793a5a4c81ddb666e
2014-01-31 23:13:55 -08:00
Elliott Hughes
6cfb31d652
am 5cbb68cf
: am da9b5dab
: am 434edbe6
: Merge "LP64 should have debuggerd and debuggerd64."
...
* commit '5cbb68cf891fa040563c70784363496cf3e05174':
LP64 should have debuggerd and debuggerd64.
2014-02-01 01:39:18 +00:00
Elliott Hughes
e9edf7a0ef
LP64 should have debuggerd and debuggerd64.
...
Change-Id: I4e39c200e6867bb9a5bbcfec1c449b8864028feb
2014-01-31 17:15:10 -08:00
Elliott Hughes
19750a2c30
am f1935b6d
: am 2e9dcd21
: am 1bc6169f
: Merge "Remove dead code that looked like part of debuggerd."
...
* commit 'f1935b6d933861d6194bf056a844ec0f11765c38':
Remove dead code that looked like part of debuggerd.
2014-02-01 00:52:06 +00:00
Elliott Hughes
033640c404
am 6beca66f
: am 3f94aa5f
: am 51c4d4c4
: Merge "AArch64: Port debuggerd"
...
* commit '6beca66f9ceaf5733ff5a4a00f1d272e42e871a2':
AArch64: Port debuggerd
2014-01-31 23:11:20 +00:00
Elliott Hughes
9361b58330
am fe0d5d42
: am 5434bf66
: Merge "LP64: Enable debuggerd/libbacktrace/libunwind."
...
* commit 'fe0d5d42e4ca8b77d6a0657be1b8b6343c21d689':
LP64: Enable debuggerd/libbacktrace/libunwind.
2014-01-31 22:38:29 +00:00
Elliott Hughes
6694d3e3d5
Remove dead code that looked like part of debuggerd.
...
Note that these were two different functions. The definition was unused,
and the declaration was undefined.
Change-Id: I2edd10a0ab9422cd5252bdb9ccdd726dc5fad531
2014-01-31 10:37:18 -08:00
Elliott Hughes
df4b9e6890
am 480fdd52
: am e97dad0d
: Merge "debuggerd: a few generic improvements"
...
* commit '480fdd524da3aa24429e46b81f52651f95c1c59a':
debuggerd: a few generic improvements
2014-01-31 16:41:15 +00:00