GDB (xrefs)
Macros | Functions
/tmp/gdb-7.10/gdb/shnbsd-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <machine/reg.h>
#include "sh-tdep.h"
#include "inf-ptrace.h"
#include "regcache.h"

Go to the source code of this file.

Macros

#define GETREGS_SUPPLIES(gdbarch, regno)
 
#define SHNBSD_SIZEOF_GREGS   (21 * 4)
 

Functions

static void shnbsd_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
static void shnbsd_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
void _initialize_shnbsd_nat (void)
 

Macro Definition Documentation

#define GETREGS_SUPPLIES (   gdbarch,
  regno 
)
Value:
(((regno) >= R0_REGNUM && (regno) <= (R0_REGNUM + 15)) \
|| (regno) == gdbarch_pc_regnum (gdbarch) || (regno) == PR_REGNUM \
|| (regno) == MACH_REGNUM || (regno) == MACL_REGNUM \
|| (regno) == SR_REGNUM)
int gdbarch_pc_regnum(struct gdbarch *gdbarch)
Definition: gdbarch.c:1998

Definition at line 35 of file shnbsd-nat.c.

Referenced by shnbsd_fetch_inferior_registers(), and shnbsd_store_inferior_registers().

#define SHNBSD_SIZEOF_GREGS   (21 * 4)

Function Documentation

void _initialize_shnbsd_nat ( void  )
static void shnbsd_fetch_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static
static void shnbsd_store_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static