GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <machine/reg.h>
#include "m68k-tdep.h"
#include "inf-ptrace.h"
#include "netbsd-nat.h"
#include <machine/pcb.h>
#include "bsd-kvm.h"
Go to the source code of this file.
Classes | |
struct | m68k_bsd_nat_target |
Macros | |
#define | _KERNTYPES |
#define | PCB_REGS_FP 10 |
#define | PCB_REGS_SP 11 |
Functions | |
static int | m68kbsd_gregset_supplies_p (int regnum) |
static int | m68kbsd_fpregset_supplies_p (int regnum) |
static void | m68kbsd_supply_gregset (struct regcache *regcache, const void *gregs) |
static void | m68kbsd_supply_fpregset (struct regcache *regcache, const void *fpregs) |
static void | m68kbsd_collect_gregset (const struct regcache *regcache, void *gregs, int regnum) |
static void | m68kbsd_collect_fpregset (struct regcache *regcache, void *fpregs, int regnum) |
static int | m68kbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) |
void | _initialize_m68kbsd_nat () |
Variables | |
static m68k_bsd_nat_target | the_m68k_bsd_nat_target |
#define _KERNTYPES |
Definition at line 21 of file m68k-bsd-nat.c.
#define PCB_REGS_FP 10 |
Definition at line 192 of file m68k-bsd-nat.c.
Referenced by m68kbsd_supply_pcb().
#define PCB_REGS_SP 11 |
Definition at line 195 of file m68k-bsd-nat.c.
Referenced by m68kbsd_supply_pcb().
void _initialize_m68kbsd_nat | ( | ) |
Definition at line 231 of file m68k-bsd-nat.c.
References add_inf_child_target(), bsd_kvm_add_target(), m68kbsd_supply_pcb(), and the_m68k_bsd_nat_target.
|
static |
Definition at line 102 of file m68k-bsd-nat.c.
References reg_buffer::arch(), M68K_FP0_REGNUM, M68K_FPI_REGNUM, m68kbsd_fpreg_offset(), reg_buffer::raw_collect(), and regnum.
Referenced by m68k_bsd_nat_target::store_registers().
|
static |
Definition at line 85 of file m68k-bsd-nat.c.
References M68K_D0_REGNUM, M68K_PC_REGNUM, reg_buffer::raw_collect(), and regnum.
Referenced by m68k_bsd_nat_target::store_registers().
|
static |
Definition at line 50 of file m68k-bsd-nat.c.
References M68K_FP0_REGNUM, M68K_FPI_REGNUM, and regnum.
Referenced by m68k_bsd_nat_target::fetch_registers(), and m68k_bsd_nat_target::store_registers().
|
static |
Definition at line 44 of file m68k-bsd-nat.c.
References M68K_D0_REGNUM, M68K_PC_REGNUM, and regnum.
Referenced by m68k_bsd_nat_target::fetch_registers(), and m68k_bsd_nat_target::store_registers().
|
static |
Definition at line 70 of file m68k-bsd-nat.c.
References reg_buffer::arch(), M68K_FP0_REGNUM, M68K_FPI_REGNUM, m68kbsd_fpreg_offset(), reg_buffer::raw_supply(), and regnum.
Referenced by m68k_bsd_nat_target::fetch_registers().
|
static |
Definition at line 58 of file m68k-bsd-nat.c.
References M68K_D0_REGNUM, M68K_PC_REGNUM, reg_buffer::raw_supply(), and regnum.
Referenced by m68k_bsd_nat_target::fetch_registers().
|
static |
Definition at line 199 of file m68k-bsd-nat.c.
References M68K_A2_REGNUM, M68K_D2_REGNUM, M68K_D7_REGNUM, M68K_PC_REGNUM, M68K_PS_REGNUM, M68K_SP_REGNUM, PCB_REGS_FP, PCB_REGS_SP, reg_buffer::raw_supply(), read_memory(), and regnum.
Referenced by _initialize_m68kbsd_nat().
|
static |
Definition at line 41 of file m68k-bsd-nat.c.
Referenced by _initialize_m68kbsd_nat().