GDB (xrefs)
Macros | Functions
/tmp/gdb-7.10/gdb/m68kbsd-nat.c File Reference
#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 <machine/pcb.h>
#include "bsd-kvm.h"

Go to the source code of this file.

Macros

#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)
 

Macro Definition Documentation

#define PCB_REGS_FP   10

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

Referenced by m68kbsd_supply_pcb().

#define PCB_REGS_SP   11

Definition at line 187 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 74 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 47 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