|
GDB (xrefs)
|
#include "defs.h"#include "inferior.h"#include "gdbcore.h"#include "regcache.h"#include "linux-nat.h"#include "target.h"#include "nat/gdb_ptrace.h"#include <sys/user.h>#include <sys/procfs.h>#include "inf-ptrace.h"#include "gregset.h"#include "m32r-tdep.h"Go to the source code of this file.
Classes | |
| class | m32r_linux_nat_target |
Macros | |
| #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) |
| static void | fetch_regs (struct regcache *regcache, int tid) |
| void | fill_gregset (const struct regcache *regcache, elf_gregset_t *gregsetp, int regno) |
| static void | store_regs (const struct regcache *regcache, int tid, 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 () |
Variables | |
| static m32r_linux_nat_target | the_m32r_linux_nat_target |
| static int | regmap [] |
| #define BBPSW_REGMAP 21 |
Definition at line 60 of file m32r-linux-nat.c.
Referenced by fill_gregset(), and supply_gregset().
| #define GETREGS_SUPPLIES | ( | regno | ) |
Definition at line 65 of file m32r-linux-nat.c.
Referenced by m32r_linux_nat_target::fetch_registers(), and m32r_linux_nat_target::store_registers().
| #define M32R_LINUX_NUM_REGS (M32R_NUM_REGS - 1) |
Definition at line 49 of file m32r-linux-nat.c.
Referenced by fill_gregset(), and supply_gregset().
| #define PSW_REGMAP 19 |
Definition at line 59 of file m32r-linux-nat.c.
Referenced by fill_gregset(), and supply_gregset().
| #define SPI_REGMAP 26 |
Definition at line 62 of file m32r-linux-nat.c.
Referenced by fill_gregset(), and supply_gregset().
| #define SPU_REGMAP 23 |
Definition at line 61 of file m32r-linux-nat.c.
Referenced by fill_gregset(), and supply_gregset().
| void _initialize_m32r_linux_nat | ( | ) |
Definition at line 240 of file m32r-linux-nat.c.
References add_inf_child_target(), linux_target, and the_m32r_linux_nat_target.
|
static |
Definition at line 116 of file m32r-linux-nat.c.
References ptrace, PTRACE_GETREGS, and supply_gregset().
Referenced by m32r_linux_nat_target::fetch_registers().
| void fill_fpregset | ( | const struct regcache * | regcache, |
| gdb_fpregset_t * | fpregs, | ||
| int | regno ) |
Definition at line 189 of file m32r-linux-nat.c.
| void fill_gregset | ( | const struct regcache * | regcache, |
| elf_gregset_t * | gregsetp, | ||
| int | regno ) |
Definition at line 131 of file m32r-linux-nat.c.
References BBPSW_REGMAP, CBR_REGNUM, M32R_LINUX_NUM_REGS, M32R_SP_REGNUM, PSW_REGMAP, PSW_REGNUM, reg_buffer::raw_collect(), regmap, SPI_REGMAP, SPI_REGNUM, SPU_REGMAP, and SPU_REGNUM.
Referenced by store_regs().
|
static |
Definition at line 165 of file m32r-linux-nat.c.
References fill_gregset(), ptrace, PTRACE_GETREGS, and PTRACE_SETREGS.
Referenced by m32r_linux_nat_target::store_registers().
| void supply_fpregset | ( | struct regcache * | regcache, |
| const gdb_fpregset_t * | fpregs ) |
Definition at line 184 of file m32r-linux-nat.c.
| void supply_gregset | ( | struct regcache * | regcache, |
| const elf_gregset_t * | gregsetp ) |
Definition at line 77 of file m32r-linux-nat.c.
References BBPSW_REGMAP, CBR_REGNUM, M32R_LINUX_NUM_REGS, M32R_SP_REGNUM, PSW_REGMAP, PSW_REGNUM, reg_buffer::raw_supply(), regmap, SPI_REGMAP, and SPU_REGMAP.
Referenced by fetch_regs().
|
static |
Definition at line 53 of file m32r-linux-nat.c.
Referenced by alphanbsd_aout_supply_gregset(), fetch_register(), fill_gregset(), sh_corefile_collect_regset(), sh_corefile_supply_regset(), store_register(), supply_gregset(), and trad_frame_set_reg_regmap().
|
static |
Definition at line 45 of file m32r-linux-nat.c.
Referenced by _initialize_m32r_linux_nat().