GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"
#include <sys/types.h>
#include <sys/procfs.h>
#include <sys/ptrace.h>
#include <sys/signal.h>
#include <machine/frame.h>
#include <machine/pcb.h>
#include <machine/reg.h>
#include "fbsd-nat.h"
#include "gregset.h"
#include "ppc-tdep.h"
#include "ppc-fbsd-tdep.h"
#include "inf-ptrace.h"
#include "bsd-kvm.h"
Go to the source code of this file.
Classes | |
struct | ppc_fbsd_nat_target |
Functions | |
void | supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregsetp) |
void | fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregsetp, int regno) |
void | supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp) |
void | fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregsetp, int regno) |
static int | getfpregs_supplies (struct gdbarch *gdbarch, int regno) |
static int | ppcfbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) |
void | _initialize_ppcfbsd_nat () |
Variables | |
static ppc_fbsd_nat_target | the_ppc_fbsd_nat_target |
void _initialize_ppcfbsd_nat | ( | ) |
Definition at line 206 of file ppc-fbsd-nat.c.
References add_inf_child_target(), bsd_kvm_add_target(), ppcfbsd_supply_pcb(), and the_ppc_fbsd_nat_target.
void fill_fpregset | ( | const struct regcache * | regcache, |
gdb_fpregset_t * | fpregsetp, | ||
int | regno ) |
Definition at line 89 of file ppc-fbsd-nat.c.
References ppc_collect_fpregset(), and ppc_fbsd_fpregset().
Referenced by ppc_fbsd_nat_target::store_registers().
void fill_gregset | ( | const struct regcache * | regcache, |
gdb_gregset_t * | gregsetp, | ||
int | regno ) |
Definition at line 63 of file ppc-fbsd-nat.c.
References ppc_collect_gregset(), and ppc_fbsd_gregset().
Referenced by ppc_fbsd_nat_target::store_registers().
|
static |
Definition at line 101 of file ppc-fbsd-nat.c.
References ppc_floating_point_unit_p(), ppc_gdbarch_tdep::ppc_fp0_regnum, ppc_gdbarch_tdep::ppc_fpscr_regnum, and ppc_num_fprs.
Referenced by ppc_fbsd_nat_target::fetch_registers(), and ppc_fbsd_nat_target::store_registers().
|
static |
Definition at line 185 of file ppc-fbsd-nat.c.
References reg_buffer::arch(), gdbarch_sp_regnum(), ppc_gdbarch_tdep::ppc_cr_regnum, ppc_gdbarch_tdep::ppc_gp0_regnum, ppc_gdbarch_tdep::ppc_lr_regnum, reg_buffer::raw_supply(), and regnum.
Referenced by _initialize_ppcfbsd_nat().
void supply_fpregset | ( | struct regcache * | regcache, |
const gdb_fpregset_t * | fpregsetp ) |
Definition at line 77 of file ppc-fbsd-nat.c.
References ppc_fbsd_fpregset(), and ppc_supply_fpregset().
void supply_gregset | ( | struct regcache * | regcache, |
const gdb_gregset_t * | gregsetp ) |
Definition at line 52 of file ppc-fbsd-nat.c.
References ppc_fbsd_gregset(), and ppc_supply_gregset().
Referenced by ppc_fbsd_nat_target::fetch_registers().
|
static |
Definition at line 46 of file ppc-fbsd-nat.c.
Referenced by _initialize_ppcfbsd_nat().