aboutsummaryrefslogtreecommitdiff
path: root/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.h
blob: c267278c418c81d0924cba6ca6a07b02fa1dd774 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//===-- RegisterContextNetBSD_x86_64.h -------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef liblldb_RegisterContextNetBSD_x86_64_H_
#define liblldb_RegisterContextNetBSD_x86_64_H_

#include "RegisterInfoInterface.h"

class RegisterContextNetBSD_x86_64:
    public lldb_private::RegisterInfoInterface
{
public:
    RegisterContextNetBSD_x86_64(const lldb_private::ArchSpec &target_arch);

    size_t
    GetGPRSize() const override;

    const lldb_private::RegisterInfo *
    GetRegisterInfo() const override;

    uint32_t
    GetRegisterCount () const override;

private:
    const lldb_private::RegisterInfo *m_register_info_p;
    const uint32_t m_register_count;
};

#endif