GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
sh-netbsd-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 "netbsd-nat.h"
#include "regcache.h"

Go to the source code of this file.

Classes

struct  sh_nbsd_nat_target
 

Macros

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

Functions

void _initialize_shnbsd_nat ()
 

Variables

static sh_nbsd_nat_target the_sh_nbsd_nat_target
 

Macro Definition Documentation

◆ GETREGS_SUPPLIES

#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:2054
@ R0_REGNUM
Definition m32r-tdep.h:34
@ MACL_REGNUM
Definition sh-tdep.h:39
@ SR_REGNUM
Definition sh-tdep.h:40
@ PR_REGNUM
Definition sh-tdep.h:35
@ MACH_REGNUM
Definition sh-tdep.h:38

Definition at line 43 of file sh-netbsd-nat.c.

Referenced by sh_nbsd_nat_target::fetch_registers(), and sh_nbsd_nat_target::store_registers().

◆ SHNBSD_SIZEOF_GREGS

#define SHNBSD_SIZEOF_GREGS   (21 * 4)

Function Documentation

◆ _initialize_shnbsd_nat()

void _initialize_shnbsd_nat ( )

Definition at line 104 of file sh-netbsd-nat.c.

References add_inf_child_target(), and the_sh_nbsd_nat_target.

Variable Documentation

◆ the_sh_nbsd_nat_target

sh_nbsd_nat_target the_sh_nbsd_nat_target
static

Definition at line 40 of file sh-netbsd-nat.c.

Referenced by _initialize_shnbsd_nat().