GDB (API)
Functions
/home/stan/gdb/src/gdb/findvar.c File Reference
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "frame.h"
#include "value.h"
#include "gdbcore.h"
#include "inferior.h"
#include "target.h"
#include "gdb_string.h"
#include "gdb_assert.h"
#include "floatformat.h"
#include "symfile.h"
#include "regcache.h"
#include "user-regs.h"
#include "block.h"
#include "objfiles.h"
#include "language.h"

Go to the source code of this file.

Functions

LONGEST extract_signed_integer (const gdb_byte *addr, int len, enum bfd_endian byte_order)
ULONGEST extract_unsigned_integer (const gdb_byte *addr, int len, enum bfd_endian byte_order)
int extract_long_unsigned_integer (const gdb_byte *addr, int orig_len, enum bfd_endian byte_order, LONGEST *pval)
CORE_ADDR extract_typed_address (const gdb_byte *buf, struct type *type)
void store_signed_integer (gdb_byte *addr, int len, enum bfd_endian byte_order, LONGEST val)
void store_unsigned_integer (gdb_byte *addr, int len, enum bfd_endian byte_order, ULONGEST val)
void store_typed_address (gdb_byte *buf, struct type *type, CORE_ADDR addr)
struct value * value_of_register (int regnum, struct frame_info *frame)
struct value * value_of_register_lazy (struct frame_info *frame, int regnum)
CORE_ADDR unsigned_pointer_to_address (struct gdbarch *gdbarch, struct type *type, const gdb_byte *buf)
CORE_ADDR signed_pointer_to_address (struct gdbarch *gdbarch, struct type *type, const gdb_byte *buf)
void unsigned_address_to_pointer (struct gdbarch *gdbarch, struct type *type, gdb_byte *buf, CORE_ADDR addr)
void address_to_signed_pointer (struct gdbarch *gdbarch, struct type *type, gdb_byte *buf, CORE_ADDR addr)
int symbol_read_needs_frame (struct symbol *sym)
struct value * default_read_var_value (struct symbol *var, struct frame_info *frame)
struct value * read_var_value (struct symbol *var, struct frame_info *frame)
struct value * default_value_from_register (struct type *type, int regnum, struct frame_info *frame)
void read_frame_register_value (struct value *value, struct frame_info *frame)
struct value * value_from_register (struct type *type, int regnum, struct frame_info *frame)
CORE_ADDR address_from_register (struct type *type, int regnum, struct frame_info *frame)

Function Documentation

CORE_ADDR address_from_register ( struct type type,
int  regnum,
struct frame_info *  frame 
)

Definition at line 752 of file findvar.c.

void address_to_signed_pointer ( struct gdbarch *  gdbarch,
struct type type,
gdb_byte buf,
CORE_ADDR  addr 
)

Definition at line 333 of file findvar.c.

struct value* default_read_var_value ( struct symbol var,
struct frame_info *  frame 
) [read]

Definition at line 422 of file findvar.c.

struct value* default_value_from_register ( struct type type,
int  regnum,
struct frame_info *  frame 
) [read]

Definition at line 622 of file findvar.c.

int extract_long_unsigned_integer ( const gdb_byte addr,
int  orig_len,
enum bfd_endian  byte_order,
LONGEST pval 
)

Definition at line 121 of file findvar.c.

LONGEST extract_signed_integer ( const gdb_byte addr,
int  len,
enum bfd_endian  byte_order 
)

Definition at line 51 of file findvar.c.

CORE_ADDR extract_typed_address ( const gdb_byte buf,
struct type type 
)

Definition at line 171 of file findvar.c.

ULONGEST extract_unsigned_integer ( const gdb_byte addr,
int  len,
enum bfd_endian  byte_order 
)

Definition at line 86 of file findvar.c.

void read_frame_register_value ( struct value *  value,
struct frame_info *  frame 
)

Definition at line 656 of file findvar.c.

struct value* read_var_value ( struct symbol var,
struct frame_info *  frame 
) [read]

Definition at line 609 of file findvar.c.

CORE_ADDR signed_pointer_to_address ( struct gdbarch *  gdbarch,
struct type type,
const gdb_byte buf 
)

Definition at line 313 of file findvar.c.

void store_signed_integer ( gdb_byte addr,
int  len,
enum bfd_endian  byte_order,
LONGEST  val 
)

Definition at line 186 of file findvar.c.

void store_typed_address ( gdb_byte buf,
struct type type,
CORE_ADDR  addr 
)

Definition at line 244 of file findvar.c.

void store_unsigned_integer ( gdb_byte addr,
int  len,
enum bfd_endian  byte_order,
ULONGEST  val 
)

Definition at line 214 of file findvar.c.

int symbol_read_needs_frame ( struct symbol sym)

Definition at line 345 of file findvar.c.

void unsigned_address_to_pointer ( struct gdbarch *  gdbarch,
struct type type,
gdb_byte buf,
CORE_ADDR  addr 
)

Definition at line 324 of file findvar.c.

CORE_ADDR unsigned_pointer_to_address ( struct gdbarch *  gdbarch,
struct type type,
const gdb_byte buf 
)

Definition at line 304 of file findvar.c.

struct value* value_from_register ( struct type type,
int  regnum,
struct frame_info *  frame 
) [read]

Definition at line 702 of file findvar.c.

struct value* value_of_register ( int  regnum,
struct frame_info *  frame 
) [read]

Definition at line 262 of file findvar.c.

struct value* value_of_register_lazy ( struct frame_info *  frame,
int  regnum 
) [read]

Definition at line 283 of file findvar.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines