GDB (xrefs)
Macros | Functions | Variables
/tmp/gdb-7.10/gdb/armbsd-tdep.c File Reference
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "arm-tdep.h"

Go to the source code of this file.

Macros

#define ARMBSD_SIZEOF_GREGS   (17 * 4)
 
#define ARMBSD_SIZEOF_FPREGS   ((1 + (8 * 3)) * 4)
 

Functions

static int armbsd_fpreg_offset (int regnum)
 
static void armbsd_supply_fpregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)
 
static void armbsd_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
 
void armbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache)
 

Variables

static const struct regset armbsd_gregset
 
static const struct regset armbsd_fpregset
 

Macro Definition Documentation

#define ARMBSD_SIZEOF_FPREGS   ((1 + (8 * 3)) * 4)
#define ARMBSD_SIZEOF_GREGS   (17 * 4)

Definition at line 30 of file armbsd-tdep.c.

Referenced by armbsd_iterate_over_regset_sections(), and armbsd_supply_gregset().

Function Documentation

static int armbsd_fpreg_offset ( int  regnum)
static

Definition at line 36 of file armbsd-tdep.c.

References ARM_F0_REGNUM, and ARM_FPS_REGNUM.

Referenced by armbsd_supply_fpregset().

void armbsd_iterate_over_regset_sections ( struct gdbarch gdbarch,
iterate_over_regset_sections_cb cb,
void *  cb_data,
const struct regcache regcache 
)

Definition at line 115 of file armbsd-tdep.c.

References ARMBSD_SIZEOF_FPREGS, and ARMBSD_SIZEOF_GREGS.

Referenced by armobsd_init_abi().

static void armbsd_supply_fpregset ( const struct regset regset,
struct regcache regcache,
int  regnum,
const void *  fpregs,
size_t  len 
)
static
static void armbsd_supply_gregset ( const struct regset regset,
struct regcache regcache,
int  regnum,
const void *  gregs,
size_t  len 
)
static

Variable Documentation

const struct regset armbsd_fpregset
static
Initial value:
=
{
NULL,
}
static void armbsd_supply_fpregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)
Definition: armbsd-tdep.c:49

Definition at line 106 of file armbsd-tdep.c.

const struct regset armbsd_gregset
static
Initial value:
=
{
NULL,
NULL,
}
static void armbsd_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
Definition: armbsd-tdep.c:70
#define REGSET_VARIABLE_SIZE
Definition: regset.h:52

Definition at line 98 of file armbsd-tdep.c.