GDB (API)
Enumerations | Functions
/home/stan/gdb/src/gdb/trad-frame.c File Reference
#include "defs.h"
#include "frame.h"
#include "trad-frame.h"
#include "regcache.h"
#include "frame-unwind.h"
#include "value.h"

Go to the source code of this file.

Enumerations

enum  { TF_REG_VALUE = -1, TF_REG_UNKNOWN = -2 }

Functions

struct trad_frame_cache * trad_frame_cache_zalloc (struct frame_info *this_frame)
struct trad_frame_saved_regtrad_frame_alloc_saved_regs (struct frame_info *this_frame)
int trad_frame_value_p (struct trad_frame_saved_reg this_saved_regs[], int regnum)
int trad_frame_addr_p (struct trad_frame_saved_reg this_saved_regs[], int regnum)
int trad_frame_realreg_p (struct trad_frame_saved_reg this_saved_regs[], int regnum)
void trad_frame_set_value (struct trad_frame_saved_reg this_saved_regs[], int regnum, LONGEST val)
void trad_frame_set_reg_value (struct trad_frame_cache *this_trad_cache, int regnum, LONGEST val)
void trad_frame_set_reg_realreg (struct trad_frame_cache *this_trad_cache, int regnum, int realreg)
void trad_frame_set_reg_addr (struct trad_frame_cache *this_trad_cache, int regnum, CORE_ADDR addr)
void trad_frame_set_unknown (struct trad_frame_saved_reg this_saved_regs[], int regnum)
struct value * trad_frame_get_prev_register (struct frame_info *this_frame, struct trad_frame_saved_reg this_saved_regs[], int regnum)
struct value * trad_frame_get_register (struct trad_frame_cache *this_trad_cache, struct frame_info *this_frame, int regnum)
void trad_frame_set_id (struct trad_frame_cache *this_trad_cache, struct frame_id this_id)
void trad_frame_get_id (struct trad_frame_cache *this_trad_cache, struct frame_id *this_id)
void trad_frame_set_this_base (struct trad_frame_cache *this_trad_cache, CORE_ADDR this_base)
CORE_ADDR trad_frame_get_this_base (struct trad_frame_cache *this_trad_cache)

Enumeration Type Documentation

anonymous enum
Enumerator:
TF_REG_VALUE 
TF_REG_UNKNOWN 

Definition at line 68 of file trad-frame.c.


Function Documentation

int trad_frame_addr_p ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

Definition at line 77 of file trad-frame.c.

struct trad_frame_saved_reg* trad_frame_alloc_saved_regs ( struct frame_info *  this_frame) [read]

Definition at line 52 of file trad-frame.c.

struct trad_frame_cache* trad_frame_cache_zalloc ( struct frame_info *  this_frame) [read]

Definition at line 36 of file trad-frame.c.

void trad_frame_get_id ( struct trad_frame_cache *  this_trad_cache,
struct frame_id this_id 
)

Definition at line 171 of file trad-frame.c.

struct value* trad_frame_get_prev_register ( struct frame_info *  this_frame,
struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
) [read]

Definition at line 135 of file trad-frame.c.

struct value* trad_frame_get_register ( struct trad_frame_cache *  this_trad_cache,
struct frame_info *  this_frame,
int  regnum 
) [read]

Definition at line 155 of file trad-frame.c.

CORE_ADDR trad_frame_get_this_base ( struct trad_frame_cache *  this_trad_cache)

Definition at line 185 of file trad-frame.c.

int trad_frame_realreg_p ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

Definition at line 84 of file trad-frame.c.

void trad_frame_set_id ( struct trad_frame_cache *  this_trad_cache,
struct frame_id  this_id 
)

Definition at line 164 of file trad-frame.c.

void trad_frame_set_reg_addr ( struct trad_frame_cache *  this_trad_cache,
int  regnum,
CORE_ADDR  addr 
)

Definition at line 119 of file trad-frame.c.

void trad_frame_set_reg_realreg ( struct trad_frame_cache *  this_trad_cache,
int  regnum,
int  realreg 
)

Definition at line 111 of file trad-frame.c.

void trad_frame_set_reg_value ( struct trad_frame_cache *  this_trad_cache,
int  regnum,
LONGEST  val 
)

Definition at line 102 of file trad-frame.c.

void trad_frame_set_this_base ( struct trad_frame_cache *  this_trad_cache,
CORE_ADDR  this_base 
)

Definition at line 178 of file trad-frame.c.

void trad_frame_set_unknown ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

Definition at line 126 of file trad-frame.c.

void trad_frame_set_value ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum,
LONGEST  val 
)

Definition at line 92 of file trad-frame.c.

int trad_frame_value_p ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

Definition at line 71 of file trad-frame.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines