GDB (xrefs)
|
#include "defs.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <machine/reg.h>
#include <machine/frame.h>
#include <machine/pcb.h>
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"
#include "ppc-tdep.h"
#include "ppc-netbsd-tdep.h"
#include "bsd-kvm.h"
#include "inf-ptrace.h"
#include "netbsd-nat.h"
Go to the source code of this file.
Classes | |
struct | ppc_nbsd_nat_target |
Macros | |
#define | _KERNTYPES |
Functions | |
static int | getregs_supplies (struct gdbarch *gdbarch, int regnum) |
static int | getfpregs_supplies (struct gdbarch *gdbarch, int regnum) |
static int | ppcnbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) |
void | _initialize_ppcnbsd_nat () |
Variables | |
static ppc_nbsd_nat_target | the_ppc_nbsd_nat_target |
#define _KERNTYPES |
Definition at line 23 of file ppc-netbsd-nat.c.
void _initialize_ppcnbsd_nat | ( | ) |
Definition at line 189 of file ppc-netbsd-nat.c.
References add_inf_child_target(), bsd_kvm_add_target(), ppcnbsd_supply_pcb(), and the_ppc_nbsd_nat_target.
|
static |
Definition at line 69 of file ppc-netbsd-nat.c.
References ppc_floating_point_unit_p(), ppc_gdbarch_tdep::ppc_fp0_regnum, ppc_gdbarch_tdep::ppc_fpscr_regnum, ppc_num_fprs, and regnum.
Referenced by ppc_nbsd_nat_target::fetch_registers(), and ppc_nbsd_nat_target::store_registers().
|
static |
Definition at line 53 of file ppc-netbsd-nat.c.
References gdbarch_pc_regnum(), ppc_gdbarch_tdep::ppc_cr_regnum, ppc_gdbarch_tdep::ppc_ctr_regnum, ppc_gdbarch_tdep::ppc_gp0_regnum, ppc_gdbarch_tdep::ppc_lr_regnum, ppc_num_gprs, ppc_gdbarch_tdep::ppc_xer_regnum, and regnum.
Referenced by ppc_nbsd_nat_target::fetch_registers(), and ppc_nbsd_nat_target::store_registers().
|
static |
Definition at line 157 of file ppc-netbsd-nat.c.
References reg_buffer::arch(), gdbarch_pc_regnum(), ppc_gdbarch_tdep::ppc_cr_regnum, ppc_gdbarch_tdep::ppc_gp0_regnum, ppc_gdbarch_tdep::ppc_lr_regnum, reg_buffer::raw_supply(), and read_memory().
Referenced by _initialize_ppcnbsd_nat().
|
static |
Definition at line 48 of file ppc-netbsd-nat.c.
Referenced by _initialize_ppcnbsd_nat().