GDB (API)
Enumerations | Functions
/home/stan/gdb/src/gdb/regcache.h File Reference

Go to the source code of this file.

Enumerations

enum  register_status { REG_UNKNOWN = 0, REG_VALID = 1, REG_UNAVAILABLE = -1 }

Functions

struct regcache * get_current_regcache (void)
struct regcache * get_thread_regcache (ptid_t ptid)
struct regcache * get_thread_arch_regcache (ptid_t, struct gdbarch *)
struct regcache * get_thread_arch_aspace_regcache (ptid_t, struct gdbarch *, struct address_space *)
void regcache_xfree (struct regcache *regcache)
struct cleanup * make_cleanup_regcache_xfree (struct regcache *regcache)
struct regcache * regcache_xmalloc (struct gdbarch *gdbarch, struct address_space *aspace)
struct gdbarch * get_regcache_arch (const struct regcache *regcache)
struct address_space * get_regcache_aspace (const struct regcache *)
enum register_status regcache_register_status (const struct regcache *regcache, int regnum)
enum register_status regcache_raw_read (struct regcache *regcache, int rawnum, gdb_byte *buf)
void regcache_raw_write (struct regcache *regcache, int rawnum, const gdb_byte *buf)
enum register_status regcache_raw_read_signed (struct regcache *regcache, int regnum, LONGEST *val)
enum register_status regcache_raw_read_unsigned (struct regcache *regcache, int regnum, ULONGEST *val)
void regcache_raw_write_signed (struct regcache *regcache, int regnum, LONGEST val)
void regcache_raw_write_unsigned (struct regcache *regcache, int regnum, ULONGEST val)
enum register_status regcache_raw_read_part (struct regcache *regcache, int regnum, int offset, int len, gdb_byte *buf)
void regcache_raw_write_part (struct regcache *regcache, int regnum, int offset, int len, const gdb_byte *buf)
void regcache_invalidate (struct regcache *regcache, int regnum)
enum register_status regcache_cooked_read (struct regcache *regcache, int rawnum, gdb_byte *buf)
void regcache_cooked_write (struct regcache *regcache, int rawnum, const gdb_byte *buf)
struct value * regcache_cooked_read_value (struct regcache *regcache, int regnum)
enum register_status regcache_cooked_read_signed (struct regcache *regcache, int regnum, LONGEST *val)
enum register_status regcache_cooked_read_unsigned (struct regcache *regcache, int regnum, ULONGEST *val)
void regcache_cooked_write_signed (struct regcache *regcache, int regnum, LONGEST val)
void regcache_cooked_write_unsigned (struct regcache *regcache, int regnum, ULONGEST val)
enum register_status regcache_cooked_read_part (struct regcache *regcache, int regnum, int offset, int len, gdb_byte *buf)
void regcache_cooked_write_part (struct regcache *regcache, int regnum, int offset, int len, const gdb_byte *buf)
CORE_ADDR regcache_read_pc (struct regcache *regcache)
void regcache_write_pc (struct regcache *regcache, CORE_ADDR pc)
void regcache_raw_supply (struct regcache *regcache, int regnum, const void *buf)
void regcache_raw_collect (const struct regcache *regcache, int regnum, void *buf)
struct typeregister_type (struct gdbarch *gdbarch, int regnum)
int register_size (struct gdbarch *gdbarch, int regnum)
enum register_status() regcache_cooked_read_ftype (void *src, int regnum, gdb_byte *buf)
void regcache_save (struct regcache *dst, regcache_cooked_read_ftype *cooked_read, void *cooked_read_context)
struct regcache * regcache_dup (struct regcache *regcache)
void regcache_cpy (struct regcache *dest, struct regcache *src)
void regcache_cpy_no_passthrough (struct regcache *dest, struct regcache *src)
void registers_changed (void)
void registers_changed_ptid (ptid_t)

Enumeration Type Documentation

Enumerator:
REG_UNKNOWN 
REG_VALID 
REG_UNAVAILABLE 

Definition at line 47 of file regcache.h.


Function Documentation

struct regcache* get_current_regcache ( void  ) [read]

Definition at line 510 of file regcache.c.

struct gdbarch* get_regcache_arch ( const struct regcache *  regcache) [read]

Definition at line 274 of file regcache.c.

struct address_space* get_regcache_aspace ( const struct regcache *  ) [read]

Definition at line 280 of file regcache.c.

struct regcache* get_thread_arch_aspace_regcache ( ptid_t  ,
struct gdbarch *  ,
struct address_space *   
) [read]

Definition at line 454 of file regcache.c.

struct regcache* get_thread_arch_regcache ( ptid_t  ,
struct gdbarch *   
) [read]

Definition at line 477 of file regcache.c.

struct regcache* get_thread_regcache ( ptid_t  ptid) [read]

Definition at line 498 of file regcache.c.

struct cleanup* make_cleanup_regcache_xfree ( struct regcache *  regcache) [read]

Definition at line 266 of file regcache.c.

enum register_status regcache_cooked_read ( struct regcache *  regcache,
int  rawnum,
gdb_byte buf 
)

Definition at line 699 of file regcache.c.

enum register_status() regcache_cooked_read_ftype ( void *  src,
int  regnum,
gdb_byte buf 
)
enum register_status regcache_cooked_read_part ( struct regcache *  regcache,
int  regnum,
int  offset,
int  len,
gdb_byte buf 
)

Definition at line 968 of file regcache.c.

enum register_status regcache_cooked_read_signed ( struct regcache *  regcache,
int  regnum,
LONGEST val 
)

Definition at line 779 of file regcache.c.

enum register_status regcache_cooked_read_unsigned ( struct regcache *  regcache,
int  regnum,
ULONGEST val 
)

Definition at line 799 of file regcache.c.

struct value* regcache_cooked_read_value ( struct regcache *  regcache,
int  regnum 
) [read]

Definition at line 746 of file regcache.c.

void regcache_cooked_write ( struct regcache *  regcache,
int  rawnum,
const gdb_byte buf 
)

Definition at line 881 of file regcache.c.

void regcache_cooked_write_part ( struct regcache *  regcache,
int  regnum,
int  offset,
int  len,
const gdb_byte buf 
)

Definition at line 979 of file regcache.c.

void regcache_cooked_write_signed ( struct regcache *  regcache,
int  regnum,
LONGEST  val 
)

Definition at line 819 of file regcache.c.

void regcache_cooked_write_unsigned ( struct regcache *  regcache,
int  regnum,
ULONGEST  val 
)

Definition at line 833 of file regcache.c.

void regcache_cpy ( struct regcache *  dest,
struct regcache *  src 
)

Definition at line 372 of file regcache.c.

void regcache_cpy_no_passthrough ( struct regcache *  dest,
struct regcache *  src 
)

Definition at line 388 of file regcache.c.

struct regcache* regcache_dup ( struct regcache *  regcache) [read]

Definition at line 405 of file regcache.c.

void regcache_invalidate ( struct regcache *  regcache,
int  regnum 
)

Definition at line 428 of file regcache.c.

void regcache_raw_collect ( const struct regcache *  regcache,
int  regnum,
void *  buf 
)

Definition at line 1022 of file regcache.c.

enum register_status regcache_raw_read ( struct regcache *  regcache,
int  rawnum,
gdb_byte buf 
)

Definition at line 599 of file regcache.c.

enum register_status regcache_raw_read_part ( struct regcache *  regcache,
int  regnum,
int  offset,
int  len,
gdb_byte buf 
)

Definition at line 946 of file regcache.c.

enum register_status regcache_raw_read_signed ( struct regcache *  regcache,
int  regnum,
LONGEST val 
)

Definition at line 633 of file regcache.c.

enum register_status regcache_raw_read_unsigned ( struct regcache *  regcache,
int  regnum,
ULONGEST val 
)

Definition at line 652 of file regcache.c.

void regcache_raw_supply ( struct regcache *  regcache,
int  regnum,
const void *  buf 
)

Definition at line 992 of file regcache.c.

void regcache_raw_write ( struct regcache *  regcache,
int  rawnum,
const gdb_byte buf 
)

Definition at line 847 of file regcache.c.

void regcache_raw_write_part ( struct regcache *  regcache,
int  regnum,
int  offset,
int  len,
const gdb_byte buf 
)

Definition at line 957 of file regcache.c.

void regcache_raw_write_signed ( struct regcache *  regcache,
int  regnum,
LONGEST  val 
)

Definition at line 672 of file regcache.c.

void regcache_raw_write_unsigned ( struct regcache *  regcache,
int  regnum,
ULONGEST  val 
)

Definition at line 685 of file regcache.c.

CORE_ADDR regcache_read_pc ( struct regcache *  regcache)

Definition at line 1039 of file regcache.c.

enum register_status regcache_register_status ( const struct regcache *  regcache,
int  regnum 
)

Definition at line 415 of file regcache.c.

void regcache_save ( struct regcache *  dst,
regcache_cooked_read_ftype cooked_read,
void *  cooked_read_context 
)

Definition at line 294 of file regcache.c.

void regcache_write_pc ( struct regcache *  regcache,
CORE_ADDR  pc 
)

Definition at line 1066 of file regcache.c.

void regcache_xfree ( struct regcache *  regcache)

Definition at line 250 of file regcache.c.

struct regcache* regcache_xmalloc ( struct gdbarch *  gdbarch,
struct address_space *  aspace 
) [read]

Definition at line 244 of file regcache.c.

int register_size ( struct gdbarch *  gdbarch,
int  regnum 
)

Definition at line 172 of file regcache.c.

struct type* register_type ( struct gdbarch *  gdbarch,
int  regnum 
) [read]

Definition at line 160 of file regcache.c.

void registers_changed ( void  )

Definition at line 586 of file regcache.c.

Definition at line 548 of file regcache.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines