GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Functions
aarch64-tdep.h File Reference
#include "arch/aarch64.h"
#include "displaced-stepping.h"
#include "infrun.h"
#include "gdbarch.h"

Go to the source code of this file.

Classes

struct  aarch64_gdbarch_tdep
 

Macros

#define AARCH64_DWARF_X0   0
 
#define AARCH64_DWARF_SP   31
 
#define AARCH64_DWARF_PC   32
 
#define AARCH64_DWARF_RA_SIGN_STATE   34
 
#define AARCH64_DWARF_V0   64
 
#define AARCH64_DWARF_SVE_VG   46
 
#define AARCH64_DWARF_SVE_FFR   47
 
#define AARCH64_DWARF_SVE_P0   48
 
#define AARCH64_DWARF_SVE_Z0   96
 
#define X_REGISTER_SIZE   8
 
#define B_REGISTER_SIZE   1
 
#define H_REGISTER_SIZE   2
 
#define S_REGISTER_SIZE   4
 
#define D_REGISTER_SIZE   8
 
#define Q_REGISTER_SIZE   16
 
#define AARCH64_X_REGISTER_COUNT   32
 
#define AARCH64_D_REGISTER_COUNT   32
 
#define AARCH64_DISPLACED_MODIFIED_INSNS   1
 

Functions

const target_descaarch64_read_description (const aarch64_features &features)
 
aarch64_features aarch64_features_from_target_desc (const struct target_desc *tdesc)
 
int aarch64_process_record (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR addr)
 
displaced_step_copy_insn_closure_up aarch64_displaced_step_copy_insn (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, struct regcache *regs)
 
void aarch64_displaced_step_fixup (struct gdbarch *gdbarch, displaced_step_copy_insn_closure *dsc, CORE_ADDR from, CORE_ADDR to, struct regcache *regs, bool completed_p)
 
bool aarch64_displaced_step_hw_singlestep (struct gdbarch *gdbarch)
 

Macro Definition Documentation

◆ AARCH64_D_REGISTER_COUNT

#define AARCH64_D_REGISTER_COUNT   32

Definition at line 56 of file aarch64-tdep.h.

Referenced by aarch64_analyze_prologue().

◆ AARCH64_DISPLACED_MODIFIED_INSNS

#define AARCH64_DISPLACED_MODIFIED_INSNS   1

Definition at line 60 of file aarch64-tdep.h.

Referenced by aarch64_displaced_step_copy_insn(), and aarch64_linux_init_abi().

◆ AARCH64_DWARF_PC

#define AARCH64_DWARF_PC   32

Definition at line 37 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_DWARF_RA_SIGN_STATE

#define AARCH64_DWARF_RA_SIGN_STATE   34

◆ AARCH64_DWARF_SP

#define AARCH64_DWARF_SP   31

Definition at line 36 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_DWARF_SVE_FFR

#define AARCH64_DWARF_SVE_FFR   47

Definition at line 41 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_DWARF_SVE_P0

#define AARCH64_DWARF_SVE_P0   48

Definition at line 42 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_DWARF_SVE_VG

#define AARCH64_DWARF_SVE_VG   46

Definition at line 40 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_DWARF_SVE_Z0

#define AARCH64_DWARF_SVE_Z0   96

Definition at line 43 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_DWARF_V0

#define AARCH64_DWARF_V0   64

Definition at line 39 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_DWARF_X0

#define AARCH64_DWARF_X0   0

Definition at line 35 of file aarch64-tdep.h.

Referenced by aarch64_dwarf_reg_to_regnum().

◆ AARCH64_X_REGISTER_COUNT

#define AARCH64_X_REGISTER_COUNT   32

Definition at line 54 of file aarch64-tdep.h.

Referenced by aarch64_analyze_prologue().

◆ B_REGISTER_SIZE

#define B_REGISTER_SIZE   1

◆ D_REGISTER_SIZE

#define D_REGISTER_SIZE   8

◆ H_REGISTER_SIZE

#define H_REGISTER_SIZE   2

◆ Q_REGISTER_SIZE

#define Q_REGISTER_SIZE   16

◆ S_REGISTER_SIZE

#define S_REGISTER_SIZE   4

◆ X_REGISTER_SIZE

#define X_REGISTER_SIZE   8

Function Documentation

◆ aarch64_displaced_step_copy_insn()

displaced_step_copy_insn_closure_up aarch64_displaced_step_copy_insn ( struct gdbarch * gdbarch,
CORE_ADDR from,
CORE_ADDR to,
struct regcache * regs )

◆ aarch64_displaced_step_fixup()

void aarch64_displaced_step_fixup ( struct gdbarch * gdbarch,
displaced_step_copy_insn_closure * dsc,
CORE_ADDR from,
CORE_ADDR to,
struct regcache * regs,
bool completed_p )

◆ aarch64_displaced_step_hw_singlestep()

bool aarch64_displaced_step_hw_singlestep ( struct gdbarch * gdbarch)

Definition at line 3936 of file aarch64-tdep.c.

Referenced by aarch64_linux_init_abi().

◆ aarch64_features_from_target_desc()

aarch64_features aarch64_features_from_target_desc ( const struct target_desc * tdesc)

◆ aarch64_process_record()

int aarch64_process_record ( struct gdbarch * gdbarch,
struct regcache * regcache,
CORE_ADDR addr )
extern

◆ aarch64_read_description()

const target_desc * aarch64_read_description ( const aarch64_features & features)