LLDB  mainline
RegisterContextMach_x86_64.h
Go to the documentation of this file.
1 //===-- RegisterContextMach_x86_64.h ------------------------------*- C++
2 //-*-===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_X86_64_H
11 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_X86_64_H
12 
14 
16 public:
18  uint32_t concrete_frame_idx);
19 
21 
22 protected:
23  int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override;
24 
25  int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override;
26 
27  int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override;
28 
29  int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override;
30 
31  int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override;
32 
33  int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override;
34 };
35 
36 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_X86_64_H
RegisterContextDarwin_x86_64::fpu
FPU fpu
Definition: RegisterContextDarwin_x86_64.h:119
RegisterContextMach_x86_64::~RegisterContextMach_x86_64
virtual ~RegisterContextMach_x86_64()
RegisterContextDarwin_x86_64::GPR
Definition: RegisterContextDarwin_x86_64.h:47
RegisterContextMach_x86_64::RegisterContextMach_x86_64
RegisterContextMach_x86_64(lldb_private::Thread &thread, uint32_t concrete_frame_idx)
RegisterContextMach_x86_64::DoReadFPU
int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override
lldb_private::Thread
Definition: Thread.h:62
RegisterContextMach_x86_64::DoWriteGPR
int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override
RegisterContextMach_x86_64::DoReadGPR
int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override
RegisterContextDarwin_x86_64::EXC
Definition: RegisterContextDarwin_x86_64.h:101
uint32_t
RegisterContextDarwin_x86_64
Definition: RegisterContextDarwin_x86_64.h:15
RegisterContextMach_x86_64::DoWriteFPU
int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override
RegisterContextDarwin_x86_64.h
RegisterContextMach_x86_64
Definition: RegisterContextMach_x86_64.h:15
RegisterContextDarwin_x86_64::exc
EXC exc
Definition: RegisterContextDarwin_x86_64.h:120
RegisterContextMach_x86_64::DoReadEXC
int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override
RegisterContextMach_x86_64::DoWriteEXC
int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override
RegisterContextDarwin_x86_64::FPU
Definition: RegisterContextDarwin_x86_64.h:80
RegisterContextDarwin_x86_64::gpr
GPR gpr
Definition: RegisterContextDarwin_x86_64.h:118
lldb::tid_t
uint64_t tid_t
Definition: lldb-types.h:86