GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/amd64-tdep.h File Reference
#include "i386-tdep.h"

Go to the source code of this file.

Defines

#define AMD64_NUM_GREGS   24
#define AMD64_NUM_REGS   (AMD64_YMM15H_REGNUM + 1)

Enumerations

enum  amd64_regnum {
  AMD64_RAX_REGNUM, AMD64_RBX_REGNUM, AMD64_RCX_REGNUM, AMD64_RDX_REGNUM,
  AMD64_RSI_REGNUM, AMD64_RDI_REGNUM, AMD64_RBP_REGNUM, AMD64_RSP_REGNUM,
  AMD64_R8_REGNUM, AMD64_R9_REGNUM, AMD64_R10_REGNUM, AMD64_R11_REGNUM,
  AMD64_R12_REGNUM, AMD64_R13_REGNUM, AMD64_R14_REGNUM, AMD64_R15_REGNUM,
  AMD64_RIP_REGNUM, AMD64_EFLAGS_REGNUM, AMD64_CS_REGNUM, AMD64_SS_REGNUM,
  AMD64_DS_REGNUM, AMD64_ES_REGNUM, AMD64_FS_REGNUM, AMD64_GS_REGNUM,
  AMD64_ST0_REGNUM = 24, AMD64_ST1_REGNUM, AMD64_FCTRL_REGNUM = AMD64_ST0_REGNUM + 8, AMD64_FSTAT_REGNUM = AMD64_ST0_REGNUM + 9,
  AMD64_FTAG_REGNUM = AMD64_ST0_REGNUM + 10, AMD64_XMM0_REGNUM = 40, AMD64_XMM1_REGNUM, AMD64_MXCSR_REGNUM = AMD64_XMM0_REGNUM + 16,
  AMD64_YMM0H_REGNUM, AMD64_YMM15H_REGNUM = AMD64_YMM0H_REGNUM + 15
}

Functions

struct displaced_step_closure * amd64_displaced_step_copy_insn (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, struct regcache *regs)
void amd64_displaced_step_fixup (struct gdbarch *gdbarch, struct displaced_step_closure *closure, CORE_ADDR from, CORE_ADDR to, struct regcache *regs)
void amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void amd64_x32_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void amd64_supply_fxsave (struct regcache *regcache, int regnum, const void *fxsave)
void amd64_supply_xsave (struct regcache *regcache, int regnum, const void *xsave)
void amd64_collect_fxsave (const struct regcache *regcache, int regnum, void *fxsave)
void amd64_collect_xsave (const struct regcache *regcache, int regnum, void *xsave, int gcore)

Variables

int amd64_linux_gregset_reg_offset []
int amd64nbsd_r_reg_offset []
int amd64obsd_r_reg_offset []
CORE_ADDR amd64fbsd_sigtramp_start_addr
CORE_ADDR amd64fbsd_sigtramp_end_addr
int amd64fbsd_sc_reg_offset []

Define Documentation

#define AMD64_NUM_GREGS   24

Definition at line 71 of file amd64-tdep.h.

#define AMD64_NUM_REGS   (AMD64_YMM15H_REGNUM + 1)

Definition at line 73 of file amd64-tdep.h.


Enumeration Type Documentation

Enumerator:
AMD64_RAX_REGNUM 
AMD64_RBX_REGNUM 
AMD64_RCX_REGNUM 
AMD64_RDX_REGNUM 
AMD64_RSI_REGNUM 
AMD64_RDI_REGNUM 
AMD64_RBP_REGNUM 
AMD64_RSP_REGNUM 
AMD64_R8_REGNUM 
AMD64_R9_REGNUM 
AMD64_R10_REGNUM 
AMD64_R11_REGNUM 
AMD64_R12_REGNUM 
AMD64_R13_REGNUM 
AMD64_R14_REGNUM 
AMD64_R15_REGNUM 
AMD64_RIP_REGNUM 
AMD64_EFLAGS_REGNUM 
AMD64_CS_REGNUM 
AMD64_SS_REGNUM 
AMD64_DS_REGNUM 
AMD64_ES_REGNUM 
AMD64_FS_REGNUM 
AMD64_GS_REGNUM 
AMD64_ST0_REGNUM 
AMD64_ST1_REGNUM 
AMD64_FCTRL_REGNUM 
AMD64_FSTAT_REGNUM 
AMD64_FTAG_REGNUM 
AMD64_XMM0_REGNUM 
AMD64_XMM1_REGNUM 
AMD64_MXCSR_REGNUM 
AMD64_YMM0H_REGNUM 
AMD64_YMM15H_REGNUM 

Definition at line 32 of file amd64-tdep.h.


Function Documentation

void amd64_collect_fxsave ( const struct regcache *  regcache,
int  regnum,
void *  fxsave 
)

Definition at line 3058 of file amd64-tdep.c.

void amd64_collect_xsave ( const struct regcache *  regcache,
int  regnum,
void *  xsave,
int  gcore 
)

Definition at line 3079 of file amd64-tdep.c.

struct displaced_step_closure* amd64_displaced_step_copy_insn ( struct gdbarch *  gdbarch,
CORE_ADDR  from,
CORE_ADDR  to,
struct regcache *  regs 
) [read]

Definition at line 1272 of file amd64-tdep.c.

void amd64_displaced_step_fixup ( struct gdbarch *  gdbarch,
struct displaced_step_closure *  closure,
CORE_ADDR  from,
CORE_ADDR  to,
struct regcache *  regs 
)

Definition at line 1417 of file amd64-tdep.c.

void amd64_init_abi ( struct gdbarch_info  info,
struct gdbarch *  gdbarch 
)

Definition at line 2825 of file amd64-tdep.c.

void amd64_supply_fxsave ( struct regcache *  regcache,
int  regnum,
const void *  fxsave 
)

Definition at line 3007 of file amd64-tdep.c.

void amd64_supply_xsave ( struct regcache *  regcache,
int  regnum,
const void *  xsave 
)

Definition at line 3030 of file amd64-tdep.c.

void amd64_x32_init_abi ( struct gdbarch_info  info,
struct gdbarch *  gdbarch 
)

Definition at line 2963 of file amd64-tdep.c.


Variable Documentation

Definition at line 67 of file amd64-linux-tdep.c.

Definition at line 93 of file amd64fbsd-tdep.c.

Definition at line 90 of file amd64fbsd-tdep.c.

Definition at line 89 of file amd64fbsd-tdep.c.

Definition at line 70 of file amd64nbsd-tdep.c.

Definition at line 168 of file amd64obsd-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines