9#if defined(__powerpc__)
11#ifndef lldb_NativeRegisterContextFreeBSD_powerpc_h
12#define lldb_NativeRegisterContextFreeBSD_powerpc_h
16#include <machine/reg.h>
26namespace process_freebsd {
28class NativeProcessFreeBSD;
30class NativeRegisterContextFreeBSD_powerpc
31 :
public NativeRegisterContextFreeBSD {
33 NativeRegisterContextFreeBSD_powerpc(
const ArchSpec &target_arch,
34 NativeThreadFreeBSD &native_thread);
36 uint32_t GetRegisterSetCount()
const override;
38 uint32_t GetUserRegisterCount()
const override;
40 const RegisterSet *GetRegisterSet(uint32_t set_index)
const override;
42 Status ReadRegister(
const RegisterInfo *reg_info,
43 RegisterValue ®_value)
override;
45 Status WriteRegister(
const RegisterInfo *reg_info,
46 const RegisterValue ®_value)
override;
53 CopyHardwareWatchpointsFrom(NativeRegisterContextFreeBSD &source)
override;
60 std::array<uint8_t,
sizeof(reg) +
sizeof(fpreg)> m_reg_data;
62 std::optional<RegSetKind> GetSetForNativeRegNum(uint32_t reg_num)
const;
64 Status ReadRegisterSet(RegSetKind set);
65 Status WriteRegisterSet(RegSetKind set);
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP