GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/ia64-hpux-nat.c File Reference
#include "defs.h"
#include "ia64-tdep.h"
#include "inferior.h"
#include "inf-ttrace.h"
#include "regcache.h"
#include "solib-ia64-hpux.h"
#include <ia64/sys/uregs.h>
#include <sys/ttrace.h>

Go to the source code of this file.

Functions

static ptid_t ia64_hpux_wait (struct target_ops *ops, ptid_t ptid, struct target_waitstatus *ourstatus, int options)
static void ia64_hpux_fetch_rnat_register (struct regcache *regcache)
static int ia64_hpux_read_register_from_save_state_t (int offset, gdb_byte *buf, int len)
static void ia64_hpux_fetch_register (struct regcache *regcache, int regnum)
static void ia64_hpux_fetch_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
static int ia64_hpux_write_register_to_saved_state_t (int offset, gdb_byte *buf, int len)
static void ia64_hpux_store_register (const struct regcache *regcache, int regnum)
static void ia64_hpux_store_registers (struct target_ops *ops, struct regcache *regcache, int regnum)
static LONGEST ia64_hpux_xfer_memory_no_bs (struct target_ops *ops, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, CORE_ADDR addr, LONGEST len)
static int ia64_hpux_read_memory_bs (gdb_byte *buf, CORE_ADDR addr, int len)
static int ia64_hpux_write_memory_bs (const gdb_byte *buf, CORE_ADDR addr, int len)
static LONGEST ia64_hpux_xfer_memory_bs (struct target_ops *ops, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, CORE_ADDR addr, LONGEST len)
static ULONGEST ia64_hpux_get_register_from_save_state_t (int regnum, int reg_size)
static LONGEST ia64_hpux_xfer_memory (struct target_ops *ops, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, CORE_ADDR addr, LONGEST len)
static LONGEST ia64_hpux_xfer_uregs (struct target_ops *ops, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
static LONGEST ia64_hpux_xfer_solib_got (struct target_ops *ops, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
static LONGEST ia64_hpux_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 int ia64_hpux_can_use_hw_breakpoint (int type, int cnt, int othertype)
static void ia64_hpux_mourn_inferior (struct target_ops *ops)
void _initialize_ia64_hpux_nat (void)

Variables

static int u_offsets []
static const char r0_value [8]
static const char f0_value [16]
static const char f1_value [16]
static ptid_t(* super_to_wait )(struct target_ops *, ptid_t, struct target_waitstatus *, int)
static LONGEST(* super_xfer_partial )(struct target_ops *, enum target_object, const char *, gdb_byte *, const gdb_byte *, ULONGEST, LONGEST)
static void(* super_mourn_inferior )(struct target_ops *)

Function Documentation

void _initialize_ia64_hpux_nat ( void  )
static int ia64_hpux_can_use_hw_breakpoint ( int  type,
int  cnt,
int  othertype 
) [static]

Definition at line 699 of file ia64-hpux-nat.c.

Referenced by _initialize_ia64_hpux_nat().

static void ia64_hpux_fetch_register ( struct regcache regcache,
int  regnum 
) [static]
static void ia64_hpux_fetch_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
) [static]
static void ia64_hpux_fetch_rnat_register ( struct regcache regcache) [static]
static ULONGEST ia64_hpux_get_register_from_save_state_t ( int  regnum,
int  reg_size 
) [static]
static void ia64_hpux_mourn_inferior ( struct target_ops ops) [static]
static int ia64_hpux_read_memory_bs ( gdb_byte buf,
CORE_ADDR  addr,
int  len 
) [static]
static int ia64_hpux_read_register_from_save_state_t ( int  offset,
gdb_byte buf,
int  len 
) [static]
static void ia64_hpux_store_register ( const struct regcache regcache,
int  regnum 
) [static]
static void ia64_hpux_store_registers ( struct target_ops ops,
struct regcache regcache,
int  regnum 
) [static]
static ptid_t ia64_hpux_wait ( struct target_ops ops,
ptid_t  ptid,
struct target_waitstatus ourstatus,
int  options 
) [static]
static int ia64_hpux_write_memory_bs ( const gdb_byte buf,
CORE_ADDR  addr,
int  len 
) [static]
static int ia64_hpux_write_register_to_saved_state_t ( int  offset,
gdb_byte buf,
int  len 
) [static]

Definition at line 283 of file ia64-hpux-nat.c.

References inferior_ptid, ptid_get_lwp(), and ptid_get_pid().

Referenced by ia64_hpux_store_register().

static LONGEST ia64_hpux_xfer_memory ( struct target_ops ops,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
CORE_ADDR  addr,
LONGEST  len 
) [static]
static LONGEST ia64_hpux_xfer_memory_bs ( struct target_ops ops,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
CORE_ADDR  addr,
LONGEST  len 
) [static]

Definition at line 471 of file ia64-hpux-nat.c.

References ia64_hpux_read_memory_bs(), ia64_hpux_write_memory_bs(), and len.

Referenced by ia64_hpux_xfer_memory().

static LONGEST ia64_hpux_xfer_memory_no_bs ( struct target_ops ops,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
CORE_ADDR  addr,
LONGEST  len 
) [static]
static LONGEST ia64_hpux_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 ia64_hpux_xfer_solib_got ( struct target_ops ops,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  offset,
LONGEST  len 
) [static]
static LONGEST ia64_hpux_xfer_uregs ( struct target_ops ops,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  offset,
LONGEST  len 
) [static]

Variable Documentation

const char f0_value[16] [static]
Initial value:
 {0x00, 0x00, 0x00, 0x00,
                                  0x00, 0x00, 0x00, 0x00,
                                  0x00, 0x00, 0x00, 0x00,
                                  0x00, 0x00, 0x00, 0x00}

Definition at line 128 of file ia64-hpux-nat.c.

Referenced by ia64_hpux_fetch_register().

const char f1_value[16] [static]
Initial value:
 {0x00, 0x00, 0x00, 0x00,
                                  0x00, 0x00, 0xff, 0xff,
                                  0x80, 0x00, 0x00, 0x00,
                                  0x00, 0x00, 0x00, 0x00}

Definition at line 132 of file ia64-hpux-nat.c.

Referenced by ia64_hpux_fetch_register().

const char r0_value[8] [static]
Initial value:
 {0x00, 0x00, 0x00, 0x00,
                                 0x00, 0x00, 0x00, 0x00}

Definition at line 126 of file ia64-hpux-nat.c.

Referenced by ia64_hpux_fetch_register().

void(* super_mourn_inferior)(struct target_ops *) [static]

Definition at line 707 of file ia64-hpux-nat.c.

Referenced by _initialize_ia64_hpux_nat(), and ia64_hpux_mourn_inferior().

ptid_t(* super_to_wait)(struct target_ops *, ptid_t, struct target_waitstatus *, int) [static]

Definition at line 139 of file ia64-hpux-nat.c.

Referenced by _initialize_ia64_hpux_nat(), and ia64_hpux_wait().

int u_offsets[] [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines