GDB (xrefs)
Defines | Functions
/home/stan/gdb/src/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.

Defines

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

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

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]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines