summaryrefslogtreecommitdiffstats
path: root/libcutils
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-01-10 23:10:21 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-10 23:10:21 +0000
commitded7f8b58bb28d11e67652a07bdeab311e5d3580 (patch)
tree50747e6b390ca14065f04a210ed7a49d3da73b98 /libcutils
parent7e6b5e956bd8a83ee69edf20da16193b31723bff (diff)
parent596bfe67eb5d223ef18edb9a5416d5c7353f9036 (diff)
downloadsystem_core-ded7f8b58bb28d11e67652a07bdeab311e5d3580.zip
system_core-ded7f8b58bb28d11e67652a07bdeab311e5d3580.tar.gz
system_core-ded7f8b58bb28d11e67652a07bdeab311e5d3580.tar.bz2
am 596bfe67: am 5f662c33: am e8e5f8ed: am 261ff50e: Merge "Init the abort_msg_address value."
* commit '596bfe67eb5d223ef18edb9a5416d5c7353f9036': Init the abort_msg_address value.
Diffstat (limited to 'libcutils')
-rw-r--r--libcutils/debugger.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcutils/debugger.c b/libcutils/debugger.c
index 9425006..7d907fc 100644
--- a/libcutils/debugger.c
+++ b/libcutils/debugger.c
@@ -30,6 +30,7 @@ int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen) {
debugger_msg_t msg;
msg.tid = tid;
msg.action = DEBUGGER_ACTION_DUMP_TOMBSTONE;
+ msg.abort_msg_address = 0;
int result = 0;
if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) {
@@ -63,6 +64,7 @@ int dump_backtrace_to_file(pid_t tid, int fd) {
debugger_msg_t msg;
msg.tid = tid;
msg.action = DEBUGGER_ACTION_DUMP_BACKTRACE;
+ msg.abort_msg_address = 0;
int result = 0;
if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) {