summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-01-10 22:56:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-01-10 22:56:38 +0000
commit261ff50e32b2b2a41bd3993c37abb5a9a94e431b (patch)
tree9a54a145b9561698132ab860ed9d5366f826aa6a
parent99775d8751676e76e00ad72d7778ad9ba28cb454 (diff)
parent1da83c3eccac942939748b66eb24f85b5f1983d4 (diff)
downloadsystem_core-261ff50e32b2b2a41bd3993c37abb5a9a94e431b.zip
system_core-261ff50e32b2b2a41bd3993c37abb5a9a94e431b.tar.gz
system_core-261ff50e32b2b2a41bd3993c37abb5a9a94e431b.tar.bz2
Merge "Init the abort_msg_address value."
-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)) {