From 0b7c158932d41a555ee9efe541575cced5f20a9e Mon Sep 17 00:00:00 2001 From: "vapier@chromium.org" Date: Mon, 20 Jul 2015 10:21:27 +0000 Subject: add aarch64 support to minidump-2-core The thread info expects the struct names as they expect in asm/ptrace.h, but the header doesn't include that, it includes sys/user.h. Rename the reg structs to match that header. Rename the elf_siginfo to _elf_siginfo to avoid conflicting with the one in the sys/procfs.h. It is only used locally in one place, so we don't need to update any callers. Otherwise, drop in aarch64 support into the minidump-2-core file. BUG=chromium:334368 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1474 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/linux/dump_writer_common/thread_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client') diff --git a/src/client/linux/dump_writer_common/thread_info.h b/src/client/linux/dump_writer_common/thread_info.h index a05ffea2..99093d2e 100644 --- a/src/client/linux/dump_writer_common/thread_info.h +++ b/src/client/linux/dump_writer_common/thread_info.h @@ -65,9 +65,9 @@ struct ThreadInfo { struct user_regs regs; struct user_fpregs fpregs; #elif defined(__aarch64__) - // Use the structures defined in - struct user_pt_regs regs; - struct user_fpsimd_state fpregs; + // Use the structures defined in + struct user_regs_struct regs; + struct user_fpsimd_struct fpregs; #elif defined(__mips__) // Use the structure defined in . mcontext_t mcontext; -- cgit v1.2.1