GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/sparc-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
#include "gdb_assert.h"
#include <signal.h>
#include "gdb_string.h"
#include <sys/ptrace.h>
#include "gdb_wait.h"
#include "sparc-tdep.h"
#include "sparc-nat.h"
#include "inf-ptrace.h"

Go to the source code of this file.

Defines

#define PTRACE_GETREGS   PT_GETREGS
#define PTRACE_SETREGS   PT_SETREGS
#define PTRACE_GETFPREGS   PT_GETFPREGS
#define PTRACE_SETFPREGS   PT_SETFPREGS

Functions

int sparc32_gregset_supplies_p (struct gdbarch *gdbarch, int regnum)
int sparc32_fpregset_supplies_p (struct gdbarch *gdbarch, int regnum)
void sparc_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
void sparc_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
struct target_opssparc_target (void)
void _initialize_sparc_nat (void)

Variables

struct sparc_gregsetsparc_gregset
struct sparc_fpregsetsparc_fpregset
void(* sparc_supply_gregset )(const struct sparc_gregset *, struct regcache *, int, const void *)
void(* sparc_collect_gregset )(const struct sparc_gregset *, const struct regcache *, int, void *)
void(* sparc_supply_fpregset )(const struct sparc_fpregset *, struct regcache *, int, const void *)
void(* sparc_collect_fpregset )(const struct sparc_fpregset *, const struct regcache *, int, void *)
int(* sparc_gregset_supplies_p )(struct gdbarch *, int)
int(* sparc_fpregset_supplies_p )(struct gdbarch *, int)
LONGEST(* inf_ptrace_xfer_partial )(struct target_ops *, enum target_object, const char *, gdb_byte *, const gdb_byte *, ULONGEST, LONGEST)

Define Documentation

#define PTRACE_GETFPREGS   PT_GETFPREGS

Definition at line 76 of file sparc-nat.c.

#define PTRACE_GETREGS   PT_GETREGS

Definition at line 68 of file sparc-nat.c.

#define PTRACE_SETFPREGS   PT_SETFPREGS

Definition at line 80 of file sparc-nat.c.

#define PTRACE_SETREGS   PT_SETREGS

Definition at line 72 of file sparc-nat.c.


Function Documentation

void _initialize_sparc_nat ( void  )

Definition at line 354 of file sparc-nat.c.

int sparc32_fpregset_supplies_p ( struct gdbarch *  gdbarch,
int  regnum 
)

Definition at line 122 of file sparc-nat.c.

int sparc32_gregset_supplies_p ( struct gdbarch *  gdbarch,
int  regnum 
)

Definition at line 100 of file sparc-nat.c.

void sparc_fetch_inferior_registers ( struct target_ops ops,
struct regcache *  regcache,
int  regnum 
)

Definition at line 139 of file sparc-nat.c.

void sparc_store_inferior_registers ( struct target_ops ops,
struct regcache *  regcache,
int  regnum 
)

Definition at line 194 of file sparc-nat.c.

struct target_ops* sparc_target ( void  ) [read]

Definition at line 337 of file sparc-nat.c.


Variable Documentation

Definition at line 316 of file sparc-nat.c.

void(* sparc_collect_fpregset)(const struct sparc_fpregset *, const struct regcache *, int, void *)

Definition at line 92 of file sparc-nat.c.

void(* sparc_collect_gregset)(const struct sparc_gregset *, const struct regcache *, int, void *)

Definition at line 88 of file sparc-nat.c.

Definition at line 85 of file sparc-nat.c.

int(* sparc_fpregset_supplies_p)(struct gdbarch *, int)

Definition at line 95 of file sparc-nat.c.

Definition at line 84 of file sparc-nat.c.

int(* sparc_gregset_supplies_p)(struct gdbarch *, int)

Definition at line 94 of file sparc-nat.c.

void(* sparc_supply_fpregset)(const struct sparc_fpregset *, struct regcache *, int, const void *)

Definition at line 90 of file sparc-nat.c.

void(* sparc_supply_gregset)(const struct sparc_gregset *, struct regcache *, int, const void *)

Definition at line 86 of file sparc-nat.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines