diff options
Diffstat (limited to 'src/client/linux/dump_writer_common')
-rw-r--r-- | src/client/linux/dump_writer_common/raw_context_cpu.h | 2 | ||||
-rw-r--r-- | src/client/linux/dump_writer_common/thread_info.cc | 2 | ||||
-rw-r--r-- | src/client/linux/dump_writer_common/ucontext_reader.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/client/linux/dump_writer_common/raw_context_cpu.h b/src/client/linux/dump_writer_common/raw_context_cpu.h index e2ef45df..07d9171a 100644 --- a/src/client/linux/dump_writer_common/raw_context_cpu.h +++ b/src/client/linux/dump_writer_common/raw_context_cpu.h @@ -41,7 +41,7 @@ typedef MDRawContextAMD64 RawContextCPU; #elif defined(__ARM_EABI__) typedef MDRawContextARM RawContextCPU; #elif defined(__aarch64__) -typedef MDRawContextARM64 RawContextCPU; +typedef MDRawContextARM64_Old RawContextCPU; #elif defined(__mips__) typedef MDRawContextMIPS RawContextCPU; #else diff --git a/src/client/linux/dump_writer_common/thread_info.cc b/src/client/linux/dump_writer_common/thread_info.cc index 0a1041d6..aae1dc13 100644 --- a/src/client/linux/dump_writer_common/thread_info.cc +++ b/src/client/linux/dump_writer_common/thread_info.cc @@ -214,7 +214,7 @@ uintptr_t ThreadInfo::GetInstructionPointer() const { } void ThreadInfo::FillCPUContext(RawContextCPU* out) const { - out->context_flags = MD_CONTEXT_ARM64_FULL; + out->context_flags = MD_CONTEXT_ARM64_FULL_OLD; out->cpsr = static_cast<uint32_t>(regs.pstate); for (int i = 0; i < MD_CONTEXT_ARM64_REG_SP; ++i) diff --git a/src/client/linux/dump_writer_common/ucontext_reader.cc b/src/client/linux/dump_writer_common/ucontext_reader.cc index 052ce37c..6ee6cc1e 100644 --- a/src/client/linux/dump_writer_common/ucontext_reader.cc +++ b/src/client/linux/dump_writer_common/ucontext_reader.cc @@ -194,7 +194,7 @@ uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, const struct fpsimd_context* fpregs) { - out->context_flags = MD_CONTEXT_ARM64_FULL; + out->context_flags = MD_CONTEXT_ARM64_FULL_OLD; out->cpsr = static_cast<uint32_t>(uc->uc_mcontext.pstate); for (int i = 0; i < MD_CONTEXT_ARM64_REG_SP; ++i) |