GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/m32r-linux-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "linux-nat.h"
#include "target.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include <sys/ptrace.h>
#include <sys/user.h>
#include <sys/procfs.h>
#include "gregset.h"
#include "m32r-tdep.h"

Go to the source code of this file.

Defines

#define M32R_LINUX_NUM_REGS   (M32R_NUM_REGS - 1)
#define PSW_REGMAP   19
#define BBPSW_REGMAP   21
#define SPU_REGMAP   23
#define SPI_REGMAP   26
#define GETREGS_SUPPLIES(regno)

Functions

void supply_gregset (struct regcache *regcache, const elf_gregset_t *gregsetp)
void fill_gregset (const struct regcache *regcache, elf_gregset_t *gregsetp, int regno)
void supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregs)
void fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregs, int regno)
void _initialize_m32r_linux_nat (void)

Define Documentation

#define BBPSW_REGMAP   21

Definition at line 54 of file m32r-linux-nat.c.

#define GETREGS_SUPPLIES (   regno)
Value:
(0 <= (regno) \
                                 && (regno) <= M32R_LINUX_NUM_REGS)

Definition at line 59 of file m32r-linux-nat.c.

#define M32R_LINUX_NUM_REGS   (M32R_NUM_REGS - 1)

Definition at line 43 of file m32r-linux-nat.c.

#define PSW_REGMAP   19

Definition at line 53 of file m32r-linux-nat.c.

#define SPI_REGMAP   26

Definition at line 56 of file m32r-linux-nat.c.

#define SPU_REGMAP   23

Definition at line 55 of file m32r-linux-nat.c.


Function Documentation

void _initialize_m32r_linux_nat ( void  )

Definition at line 248 of file m32r-linux-nat.c.

void fill_fpregset ( const struct regcache *  regcache,
gdb_fpregset_t fpregs,
int  regno 
)

Definition at line 183 of file m32r-linux-nat.c.

void fill_gregset ( const struct regcache *  regcache,
elf_gregset_t gregsetp,
int  regno 
)

Definition at line 125 of file m32r-linux-nat.c.

void supply_fpregset ( struct regcache *  regcache,
const gdb_fpregset_t fpregs 
)

Definition at line 178 of file m32r-linux-nat.c.

void supply_gregset ( struct regcache *  regcache,
const elf_gregset_t gregsetp 
)

Definition at line 71 of file m32r-linux-nat.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines