GDB (xrefs)
Defines | Functions
/home/stan/gdb/src/gdb/m68kbsd-nat.c File Reference
#include "defs.h"
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"
#include "gdb_assert.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <machine/reg.h>
#include "m68k-tdep.h"
#include "inf-ptrace.h"
#include <machine/pcb.h>
#include "bsd-kvm.h"

Go to the source code of this file.

Defines

#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 void m68kbsd_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
static void m68kbsd_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
static int m68kbsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
void _initialize_m68kbsd_nat (void)

Define Documentation

#define PCB_REGS_FP   10

Definition at line 186 of file m68kbsd-nat.c.

Referenced by m68kbsd_supply_pcb().

#define PCB_REGS_SP   11

Definition at line 189 of file m68kbsd-nat.c.

Referenced by m68kbsd_supply_pcb().


Function Documentation

void _initialize_m68kbsd_nat ( void  )
static void m68kbsd_collect_fpregset ( struct regcache regcache,
void *  fpregs,
int  regnum 
) [static]
static void m68kbsd_collect_gregset ( const struct regcache regcache,
void *  gregs,
int  regnum 
) [static]

Definition at line 75 of file m68kbsd-nat.c.

References M68K_D0_REGNUM, M68K_PC_REGNUM, and regcache_raw_collect().

Referenced by m68kbsd_store_inferior_registers().

static void m68kbsd_fetch_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
) [static]
static int m68kbsd_fpregset_supplies_p ( int  regnum) [static]
static int m68kbsd_gregset_supplies_p ( int  regnum) [static]
static void m68kbsd_store_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
) [static]
static void m68kbsd_supply_fpregset ( struct regcache regcache,
const void *  fpregs 
) [static]
static void m68kbsd_supply_gregset ( struct regcache regcache,
const void *  gregs 
) [static]

Definition at line 48 of file m68kbsd-nat.c.

References M68K_D0_REGNUM, M68K_PC_REGNUM, regcache_raw_supply(), and regnum.

Referenced by m68kbsd_fetch_inferior_registers().

static int m68kbsd_supply_pcb ( struct regcache regcache,
struct pcb *  pcb 
) [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines