|
GDB (xrefs)
|
#include "defs.h"#include "inferior.h"#include "regcache.h"#include "target.h"#include <sys/types.h>#include <sys/ptrace.h>#include <machine/reg.h>#include "mips-tdep.h"#include "inf-ptrace.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 |
Functions | |
| static void | mips64obsd_supply_gregset (struct regcache *regcache, const void *gregs) |
| static void | mips64obsd_collect_gregset (const struct regcache *regcache, void *gregs, int regnum) |
| static void | mips64obsd_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum) |
| static void | mips64obsd_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum) |
| void | _initialize_mips64obsd_nat (void) |
| #define MIPS_FP0_REGNUM MIPS_EMBED_FP0_REGNUM |
Definition at line 34 of file mips64obsd-nat.c.
Referenced by mips64obsd_collect_gregset(), and mips64obsd_supply_gregset().
| #define MIPS_FSR_REGNUM MIPS_EMBED_FP0_REGNUM + 32 |
Definition at line 35 of file mips64obsd-nat.c.
Referenced by mips64obsd_collect_gregset(), and mips64obsd_supply_gregset().
| #define MIPS_PC_REGNUM MIPS_EMBED_PC_REGNUM |
Definition at line 33 of file mips64obsd-nat.c.
Referenced by mips64obsd_collect_gregset(), and mips64obsd_supply_gregset().
| void _initialize_mips64obsd_nat | ( | void | ) |
Definition at line 117 of file mips64obsd-nat.c.
References add_target(), inf_ptrace_target(), mips64obsd_fetch_inferior_registers(), mips64obsd_store_inferior_registers(), target_ops::to_fetch_registers, and target_ops::to_store_registers.
| static void mips64obsd_collect_gregset | ( | const struct regcache * | regcache, |
| void * | gregs, | ||
| int | regnum | ||
| ) | [static] |
Definition at line 56 of file mips64obsd-nat.c.
References MIPS_FP0_REGNUM, MIPS_FSR_REGNUM, MIPS_PC_REGNUM, MIPS_ZERO_REGNUM, and regcache_raw_collect().
Referenced by mips64obsd_store_inferior_registers().
| static void mips64obsd_fetch_inferior_registers | ( | struct target_ops * | ops, |
| struct regcache * | regcache, | ||
| int | regnum | ||
| ) | [static] |
Definition at line 80 of file mips64obsd-nat.c.
References _, inferior_ptid, mips64obsd_supply_gregset(), perror_with_name(), ptid_get_pid(), ptrace(), and PTRACE_TYPE_ARG3.
Referenced by _initialize_mips64obsd_nat().
| static void mips64obsd_store_inferior_registers | ( | struct target_ops * | ops, |
| struct regcache * | regcache, | ||
| int | regnum | ||
| ) | [static] |
Definition at line 96 of file mips64obsd-nat.c.
References _, inferior_ptid, mips64obsd_collect_gregset(), perror_with_name(), ptid_get_pid(), ptrace(), and PTRACE_TYPE_ARG3.
Referenced by _initialize_mips64obsd_nat().
| static void mips64obsd_supply_gregset | ( | struct regcache * | regcache, |
| const void * | gregs | ||
| ) | [static] |
Definition at line 40 of file mips64obsd-nat.c.
References MIPS_FP0_REGNUM, MIPS_FSR_REGNUM, MIPS_PC_REGNUM, MIPS_ZERO_REGNUM, regcache_raw_supply(), and regnum.
Referenced by mips64obsd_fetch_inferior_registers().
1.7.6.1