1 //===-- RegisterContextLinux_arm.h -----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_RegisterContextLinux_arm_h_
11 #define liblldb_RegisterContextLinux_arm_h_
13 #include "lldb/lldb-private.h"
14 #include "lldb/Target/RegisterContext.h"
15 #include "RegisterContextPOSIX.h"
16 #include "RegisterInfoInterface.h"
18 class RegisterContextLinux_arm
19 : public lldb_private::RegisterInfoInterface
25 uint32_t r[16]; // R0-R15
26 uint32_t cpsr; // CPSR
40 QReg q[16]; // the 128-bit NEON registers
47 uint32_t fsr; /* Fault status */
48 uint32_t far; /* Virtual Fault Address */
59 RegisterContextLinux_arm(const lldb_private::ArchSpec &target_arch);
62 GetGPRSize() const override;
64 const lldb_private::RegisterInfo *
65 GetRegisterInfo() const override;
68 GetRegisterCount () const override;
71 const lldb_private::RegisterInfo *m_register_info_p;
72 uint32_t m_register_info_count;
75 #endif // liblldb_RegisterContextLinux_arm_h_