GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/i387-tdep.c File Reference
#include "defs.h"
#include "doublest.h"
#include "floatformat.h"
#include "frame.h"
#include "gdbcore.h"
#include "inferior.h"
#include "language.h"
#include "regcache.h"
#include "value.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "i386-tdep.h"
#include "i387-tdep.h"
#include "i386-xstate.h"

Go to the source code of this file.

Defines

#define FSAVE_ADDR(tdep, fsave, regnum)   (fsave + fsave_offset[regnum - I387_ST0_REGNUM (tdep)])
#define FXSAVE_ADDR(tdep, fxsave, regnum)   (fxsave + fxsave_offset[regnum - I387_ST0_REGNUM (tdep)])
#define FXSAVE_MXCSR_ADDR(fxsave)   (fxsave + 24)
#define XSAVE_XSTATE_BV_ADDR(xsave)   (xsave + 512)
#define XSAVE_AVXH_ADDR(tdep, xsave, regnum)   (xsave + xsave_avxh_offset[regnum - I387_YMM0H_REGNUM (tdep)])

Functions

void i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args)
int i387_convert_register_p (struct gdbarch *gdbarch, int regnum, struct type *type)
int i387_register_to_value (struct frame_info *frame, int regnum, struct type *type, gdb_byte *to, int *optimizedp, int *unavailablep)
void i387_value_to_register (struct frame_info *frame, int regnum, struct type *type, const gdb_byte *from)
void i387_supply_fsave (struct regcache *regcache, int regnum, const void *fsave)
void i387_collect_fsave (const struct regcache *regcache, int regnum, void *fsave)
void i387_supply_fxsave (struct regcache *regcache, int regnum, const void *fxsave)
void i387_collect_fxsave (const struct regcache *regcache, int regnum, void *fxsave)
void i387_supply_xsave (struct regcache *regcache, int regnum, const void *xsave)
void i387_collect_xsave (const struct regcache *regcache, int regnum, void *xsave, int gcore)
void i387_return_value (struct gdbarch *gdbarch, struct regcache *regcache)

Define Documentation

#define FSAVE_ADDR (   tdep,
  fsave,
  regnum 
)    (fsave + fsave_offset[regnum - I387_ST0_REGNUM (tdep)])

Definition at line 441 of file i387-tdep.c.

#define FXSAVE_ADDR (   tdep,
  fxsave,
  regnum 
)    (fxsave + fxsave_offset[regnum - I387_ST0_REGNUM (tdep)])

Definition at line 580 of file i387-tdep.c.

#define FXSAVE_MXCSR_ADDR (   fxsave)    (fxsave + 24)

Definition at line 588 of file i387-tdep.c.

#define XSAVE_AVXH_ADDR (   tdep,
  xsave,
  regnum 
)    (xsave + xsave_avxh_offset[regnum - I387_YMM0H_REGNUM (tdep)])

Definition at line 766 of file i387-tdep.c.

#define XSAVE_XSTATE_BV_ADDR (   xsave)    (xsave + 512)

Definition at line 740 of file i387-tdep.c.


Function Documentation

void i387_collect_fsave ( const struct regcache *  regcache,
int  regnum,
void *  fsave 
)

Definition at line 505 of file i387-tdep.c.

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

Definition at line 681 of file i387-tdep.c.

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

Definition at line 979 of file i387-tdep.c.

int i387_convert_register_p ( struct gdbarch *  gdbarch,
int  regnum,
struct type type 
)

Definition at line 341 of file i387-tdep.c.

void i387_print_float_info ( struct gdbarch *  gdbarch,
struct ui_file *  file,
struct frame_info *  frame,
const char *  args 
)

Definition at line 218 of file i387-tdep.c.

int i387_register_to_value ( struct frame_info *  frame,
int  regnum,
struct type type,
gdb_byte to,
int optimizedp,
int unavailablep 
)

Definition at line 361 of file i387-tdep.c.

void i387_return_value ( struct gdbarch *  gdbarch,
struct regcache *  regcache 
)

Definition at line 1271 of file i387-tdep.c.

void i387_supply_fsave ( struct regcache *  regcache,
int  regnum,
const void *  fsave 
)

Definition at line 450 of file i387-tdep.c.

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

Definition at line 598 of file i387-tdep.c.

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

Definition at line 772 of file i387-tdep.c.

void i387_value_to_register ( struct frame_info *  frame,
int  regnum,
struct type type,
const gdb_byte from 
)

Definition at line 393 of file i387-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines