GDB (API)
Functions
/home/stan/gdb/src/gdb/prologue-value.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "gdb_assert.h"
#include "prologue-value.h"
#include "regcache.h"

Go to the source code of this file.

Functions

pv_t pv_unknown (void)
pv_t pv_constant (CORE_ADDR k)
pv_t pv_register (int reg, CORE_ADDR k)
pv_t pv_add (pv_t a, pv_t b)
pv_t pv_add_constant (pv_t v, CORE_ADDR k)
pv_t pv_subtract (pv_t a, pv_t b)
pv_t pv_logical_and (pv_t a, pv_t b)
int pv_is_identical (pv_t a, pv_t b)
int pv_is_constant (pv_t a)
int pv_is_register (pv_t a, int r)
int pv_is_register_k (pv_t a, int r, CORE_ADDR k)
enum pv_boolean pv_is_array_ref (pv_t addr, CORE_ADDR size, pv_t array_addr, CORE_ADDR array_len, CORE_ADDR elt_size, int *i)
struct pv_area * make_pv_area (int base_reg, int addr_bit)
void free_pv_area (struct pv_area *area)
struct cleanup * make_cleanup_free_pv_area (struct pv_area *area)
int pv_area_store_would_trash (struct pv_area *area, pv_t addr)
void pv_area_store (struct pv_area *area, pv_t addr, CORE_ADDR size, pv_t value)
pv_t pv_area_fetch (struct pv_area *area, pv_t addr, CORE_ADDR size)
int pv_area_find_reg (struct pv_area *area, struct gdbarch *gdbarch, int reg, CORE_ADDR *offset_p)
void pv_area_scan (struct pv_area *area, void(*func)(void *closure, pv_t addr, CORE_ADDR size, pv_t value), void *closure)

Function Documentation

void free_pv_area ( struct pv_area *  area)

Definition at line 360 of file prologue-value.c.

struct cleanup* make_cleanup_free_pv_area ( struct pv_area *  area) [read]

Definition at line 375 of file prologue-value.c.

struct pv_area* make_pv_area ( int  base_reg,
int  addr_bit 
) [read]

Definition at line 317 of file prologue-value.c.

pv_t pv_add ( pv_t  a,
pv_t  b 
)

Definition at line 84 of file prologue-value.c.

Definition at line 107 of file prologue-value.c.

pv_t pv_area_fetch ( struct pv_area *  area,
pv_t  addr,
CORE_ADDR  size 
)

Definition at line 517 of file prologue-value.c.

int pv_area_find_reg ( struct pv_area *  area,
struct gdbarch *  gdbarch,
int  reg,
CORE_ADDR offset_p 
)

Definition at line 540 of file prologue-value.c.

void pv_area_scan ( struct pv_area *  area,
void(*)(void *closure, pv_t addr, CORE_ADDR size, pv_t value)  func,
void *  closure 
)

Definition at line 569 of file prologue-value.c.

void pv_area_store ( struct pv_area *  area,
pv_t  addr,
CORE_ADDR  size,
pv_t  value 
)

Definition at line 454 of file prologue-value.c.

int pv_area_store_would_trash ( struct pv_area *  area,
pv_t  addr 
)

Definition at line 382 of file prologue-value.c.

Definition at line 38 of file prologue-value.c.

enum pv_boolean pv_is_array_ref ( pv_t  addr,
CORE_ADDR  size,
pv_t  array_addr,
CORE_ADDR  array_len,
CORE_ADDR  elt_size,
int i 
)

Definition at line 235 of file prologue-value.c.

Definition at line 211 of file prologue-value.c.

int pv_is_identical ( pv_t  a,
pv_t  b 
)

Definition at line 191 of file prologue-value.c.

int pv_is_register ( pv_t  a,
int  r 
)

Definition at line 218 of file prologue-value.c.

int pv_is_register_k ( pv_t  a,
int  r,
CORE_ADDR  k 
)

Definition at line 226 of file prologue-value.c.

pv_t pv_logical_and ( pv_t  a,
pv_t  b 
)

Definition at line 155 of file prologue-value.c.

pv_t pv_register ( int  reg,
CORE_ADDR  k 
)

Definition at line 51 of file prologue-value.c.

pv_t pv_subtract ( pv_t  a,
pv_t  b 
)

Definition at line 116 of file prologue-value.c.

pv_t pv_unknown ( void  )

Definition at line 29 of file prologue-value.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines