GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/mipsnbsd-tdep.c File Reference
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "regset.h"
#include "target.h"
#include "value.h"
#include "osabi.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "nbsd-tdep.h"
#include "mipsnbsd-tdep.h"
#include "mips-tdep.h"
#include "solib-svr4.h"

Go to the source code of this file.

Defines

#define MIPS_PC_REGNUM   MIPS_EMBED_PC_REGNUM
#define MIPS_FP0_REGNUM   MIPS_EMBED_FP0_REGNUM
#define MIPS_FSR_REGNUM   MIPS_EMBED_FP0_REGNUM + 32
#define MIPSNBSD_NUM_GREGS   38
#define MIPSNBSD_NUM_FPREGS   33
#define RETCODE_NWORDS   3
#define RETCODE_SIZE   (RETCODE_NWORDS * 4)
#define NBSD_MIPS_JB_PC   (2 * 4)
#define NBSD_MIPS_JB_ELEMENT_SIZE(gdbarch)   mips_isa_regsize (gdbarch)
#define NBSD_MIPS_JB_OFFSET(gdbarch)

Functions

void mipsnbsd_supply_reg (struct regcache *regcache, const char *regs, int regno)
void mipsnbsd_fill_reg (const struct regcache *regcache, char *regs, int regno)
void mipsnbsd_supply_fpreg (struct regcache *regcache, const char *fpregs, int regno)
void mipsnbsd_fill_fpreg (const struct regcache *regcache, char *fpregs, int regno)
void _initialize_mipsnbsd_tdep (void)

Variables

initialize_file_ftype _initialize_mipsnbsd_tdep

Define Documentation

Definition at line 41 of file mipsnbsd-tdep.c.

Definition at line 42 of file mipsnbsd-tdep.c.

Definition at line 40 of file mipsnbsd-tdep.c.

#define MIPSNBSD_NUM_FPREGS   33

Definition at line 50 of file mipsnbsd-tdep.c.

#define MIPSNBSD_NUM_GREGS   38

Definition at line 47 of file mipsnbsd-tdep.c.

#define NBSD_MIPS_JB_ELEMENT_SIZE (   gdbarch)    mips_isa_regsize (gdbarch)

Definition at line 255 of file mipsnbsd-tdep.c.

#define NBSD_MIPS_JB_OFFSET (   gdbarch)
Value:
(NBSD_MIPS_JB_PC * \
                                         NBSD_MIPS_JB_ELEMENT_SIZE (gdbarch))

Definition at line 256 of file mipsnbsd-tdep.c.

#define NBSD_MIPS_JB_PC   (2 * 4)

Definition at line 254 of file mipsnbsd-tdep.c.

#define RETCODE_NWORDS   3

Definition at line 230 of file mipsnbsd-tdep.c.

#define RETCODE_SIZE   (RETCODE_NWORDS * 4)

Definition at line 231 of file mipsnbsd-tdep.c.


Function Documentation

void _initialize_mipsnbsd_tdep ( void  )

Definition at line 382 of file mipsnbsd-tdep.c.

void mipsnbsd_fill_fpreg ( const struct regcache *  regcache,
char *  fpregs,
int  regno 
)

Definition at line 199 of file mipsnbsd-tdep.c.

void mipsnbsd_fill_reg ( const struct regcache *  regcache,
char *  regs,
int  regno 
)

Definition at line 162 of file mipsnbsd-tdep.c.

void mipsnbsd_supply_fpreg ( struct regcache *  regcache,
const char *  fpregs,
int  regno 
)

Definition at line 175 of file mipsnbsd-tdep.c.

void mipsnbsd_supply_reg ( struct regcache *  regcache,
const char *  regs,
int  regno 
)

Definition at line 143 of file mipsnbsd-tdep.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines