1 //===-- RegisterContextFreeBSD_mips64.cpp ----------------------*- 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 //===---------------------------------------------------------------------===//
11 #include "RegisterContextPOSIX_mips64.h"
12 #include "RegisterContextFreeBSD_mips64.h"
14 using namespace lldb_private;
17 // http://svnweb.freebsd.org/base/head/sys/mips/include/regnum.h
62 //---------------------------------------------------------------------------
63 // Include RegisterInfos_mips64 to declare our g_register_infos_mips64 structure.
64 //---------------------------------------------------------------------------
65 #define DECLARE_REGISTER_INFOS_MIPS64_STRUCT
66 #include "RegisterInfos_mips64.h"
67 #undef DECLARE_REGISTER_INFOS_MIPS64_STRUCT
69 RegisterContextFreeBSD_mips64::RegisterContextFreeBSD_mips64(const ArchSpec &target_arch) :
70 RegisterInfoInterface(target_arch)
74 RegisterContextFreeBSD_mips64::~RegisterContextFreeBSD_mips64()
79 RegisterContextFreeBSD_mips64::GetGPRSize()
85 RegisterContextFreeBSD_mips64::GetRegisterInfo()
87 assert (m_target_arch.GetCore() == ArchSpec::eCore_mips64);
88 return g_register_infos_mips64;