1eb8dc403SDave Cobbleymap the mcontext_t structure for musl 2eb8dc403SDave Cobbley 3eb8dc403SDave CobbleyUpstream-Status: Inappropriate [need to consider Android] 4eb8dc403SDave Cobbley 5eb8dc403SDave CobbleySigned-off-by: Khem Raj <raj.khem@gmail.com> 6*8f840685SAndrew Geissler--- a/src/client/linux/minidump_writer/linux_core_dumper.cc 7*8f840685SAndrew Geissler+++ b/src/client/linux/minidump_writer/linux_core_dumper.cc 8*8f840685SAndrew Geissler@@ -214,7 +214,7 @@ bool LinuxCoreDumper::EnumerateThreads() 9eb8dc403SDave Cobbley info.tgid = status->pr_pgrp; 10eb8dc403SDave Cobbley info.ppid = status->pr_ppid; 11eb8dc403SDave Cobbley #if defined(__mips__) 12eb8dc403SDave Cobbley-# if defined(__ANDROID__) 13eb8dc403SDave Cobbley+# if defined(__ANDROID__) || !defined(__GLIBC__) 14eb8dc403SDave Cobbley for (int i = EF_R0; i <= EF_R31; i++) 15eb8dc403SDave Cobbley info.mcontext.gregs[i - EF_R0] = status->pr_reg[i]; 16eb8dc403SDave Cobbley # else // __ANDROID__ 17