From a02d0eeb3922c535ee9e64aa9030348655391c10 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Mon, 8 May 2017 12:59:17 -0700 Subject: [PATCH] libdebuggerd: print the build fingerprint in fallback. Bug: http://b/37798209 Test: killall -ABRT media.codec on internal Change-Id: I0ff1fc5ca1e0bcec2c1b2553d6af7099deebfeda (cherry picked from commit 62f5977d4a116addb80fe31c51e8b560a92ea6d7) --- debuggerd/libdebuggerd/tombstone.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debuggerd/libdebuggerd/tombstone.cpp b/debuggerd/libdebuggerd/tombstone.cpp index 06b2dac1f..edc7be5e2 100644 --- a/debuggerd/libdebuggerd/tombstone.cpp +++ b/debuggerd/libdebuggerd/tombstone.cpp @@ -754,6 +754,8 @@ void engrave_tombstone_ucontext(int tombstone_fd, uintptr_t abort_msg_address, s read_with_default("/proc/self/comm", thread_name, sizeof(thread_name), ""); read_with_default("/proc/self/cmdline", process_name, sizeof(process_name), ""); + _LOG(&log, logtype::HEADER, "*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\n"); + dump_header_info(&log); dump_thread_info(&log, pid, tid, thread_name, process_name); dump_signal_info(&log, siginfo);