GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/armbsd-tdep.c File Reference
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "arm-tdep.h"

Go to the source code of this file.

Defines

#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)
struct regsetarmbsd_regset_from_core_section (struct gdbarch *gdbarch, const char *sect_name, size_t sect_size)

Variables

static struct regset armbsd_gregset
static struct regset armbsd_fpregset

Define Documentation

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

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

Referenced by armbsd_regset_from_core_section(), and armbsd_supply_gregset().


Function Documentation

static int armbsd_fpreg_offset ( int  regnum) [static]

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

References ARM_F0_REGNUM, and ARM_FPS_REGNUM.

Referenced by armbsd_supply_fpregset().

struct regset* armbsd_regset_from_core_section ( struct gdbarch gdbarch,
const char *  sect_name,
size_t  sect_size 
) [read]

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

References armbsd_fpregset, armbsd_gregset, 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

struct regset armbsd_fpregset [static]
Initial value:

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

Referenced by armbsd_regset_from_core_section().

struct regset armbsd_gregset [static]
Initial value:

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

Referenced by armbsd_regset_from_core_section().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines