GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/rs6000-nat.c File Reference
#include "defs.h"
#include "inferior.h"
#include "target.h"
#include "gdbcore.h"
#include "symfile.h"
#include "objfiles.h"
#include "libbfd.h"
#include "bfd.h"
#include "exceptions.h"
#include "gdb-stabs.h"
#include "regcache.h"
#include "arch-utils.h"
#include "inf-child.h"
#include "inf-ptrace.h"
#include "ppc-tdep.h"
#include "rs6000-tdep.h"
#include "rs6000-aix-tdep.h"
#include "exec.h"
#include "observer.h"
#include "xcoffread.h"
#include <sys/ptrace.h>
#include <sys/reg.h>
#include <sys/dir.h>
#include <sys/user.h>
#include <signal.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
#include <a.out.h>
#include <sys/file.h>
#include "gdb_stat.h"
#include "gdb_bfd.h"
#include <sys/core.h>
#include <sys/ldr.h>
#include <sys/systemcfg.h>

Go to the source code of this file.

Defines

#define __LDINFO_PTRACE32__   /* for __ld_info32 */
#define __LDINFO_PTRACE64__   /* for __ld_info64 */
#define ARCH64()   0
#define DUMMY_INSN_ADDR   AIX_TEXT_SEGMENT_BASE+0x200

Functions

static void exec_one_dummy_insn (struct regcache *)
static LONGEST rs6000_xfer_shared_libraries (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
static int regmap (struct gdbarch *gdbarch, int regno, int *isfloat)
static int rs6000_ptrace32 (int req, int id, int *addr, int data, int *buf)
static int rs6000_ptrace64 (int req, int id, long long addr, int data, void *buf)
static void fetch_register (struct regcache *regcache, int regno)
static void store_register (struct regcache *regcache, int regno)
static void rs6000_fetch_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regno)
static void rs6000_store_inferior_registers (struct target_ops *ops, struct regcache *regcache, int regno)
static LONGEST rs6000_xfer_partial (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
static ptid_t rs6000_wait (struct target_ops *ops, ptid_t ptid, struct target_waitstatus *ourstatus, int options)
static void rs6000_create_inferior (struct target_ops *ops, char *exec_file, char *allargs, char **env, int from_tty)
static gdb_byters6000_ptrace_ldinfo (ptid_t ptid)
void _initialize_rs6000_nat (void)

Variables

static void(* super_create_inferior )(struct target_ops *, char *exec_file, char *allargs, char **env, int from_tty)

Define Documentation

#define __LDINFO_PTRACE32__   /* for __ld_info32 */

Definition at line 56 of file rs6000-nat.c.

#define __LDINFO_PTRACE64__   /* for __ld_info64 */

Definition at line 57 of file rs6000-nat.c.

#define ARCH64 ( )    0

Referenced by exec_one_dummy_insn().


Function Documentation

void _initialize_rs6000_nat ( void  )
static void exec_one_dummy_insn ( struct regcache regcache) [static]
static void fetch_register ( struct regcache regcache,
int  regno 
) [static]
static int regmap ( struct gdbarch gdbarch,
int  regno,
int isfloat 
) [static]
static void rs6000_create_inferior ( struct target_ops ops,
char *  exec_file,
char *  allargs,
char **  env,
int  from_tty 
) [static]
static void rs6000_fetch_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
) [static]
static int rs6000_ptrace32 ( int  req,
int  id,
int addr,
int  data,
int buf 
) [static]
static int rs6000_ptrace64 ( int  req,
int  id,
long long  addr,
int  data,
void *  buf 
) [static]
static gdb_byte* rs6000_ptrace_ldinfo ( ptid_t  ptid) [static]
static void rs6000_store_inferior_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
) [static]
static ptid_t rs6000_wait ( struct target_ops ops,
ptid_t  ptid,
struct target_waitstatus ourstatus,
int  options 
) [static]
static LONGEST rs6000_xfer_partial ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  offset,
LONGEST  len 
) [static]
static LONGEST rs6000_xfer_shared_libraries ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  offset,
LONGEST  len 
) [static]
static void store_register ( struct regcache regcache,
int  regno 
) [static]

Variable Documentation

void(* super_create_inferior)(struct target_ops *, char *exec_file, char *allargs, char **env, int from_tty) [static]

Definition at line 594 of file rs6000-nat.c.

Referenced by _initialize_rs6000_nat(), and rs6000_create_inferior().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines