GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
pv_area Class Reference

#include "prologue-value.h"

Classes

struct  area_entry
 

Public Member Functions

 pv_area (int base_reg, int addr_bit)
 
 ~pv_area ()
 
 DISABLE_COPY_AND_ASSIGN (pv_area)
 
void store (pv_t addr, CORE_ADDR size, pv_t value)
 
pv_t fetch (pv_t addr, CORE_ADDR size)
 
bool store_would_trash (pv_t addr)
 
bool find_reg (struct gdbarch *gdbarch, int reg, CORE_ADDR *offset_p)
 
void scan (void(*func)(void *closure, pv_t addr, CORE_ADDR size, pv_t value), void *closure)
 

Private Member Functions

void clear_entries ()
 
struct area_entryfind_entry (CORE_ADDR offset)
 
int overlaps (struct area_entry *entry, CORE_ADDR offset, CORE_ADDR size)
 

Private Attributes

int m_base_reg
 
CORE_ADDR m_addr_mask
 
struct area_entrym_entry
 

Detailed Description

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

Constructor & Destructor Documentation

◆ pv_area()

pv_area::pv_area ( int base_reg,
int addr_bit )

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

◆ ~pv_area()

pv_area::~pv_area ( )

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

References clear_entries().

Member Function Documentation

◆ clear_entries()

void pv_area::clear_entries ( )
private

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

References m_entry, pv_area::area_entry::next, and xfree().

Referenced by store(), and ~pv_area().

◆ DISABLE_COPY_AND_ASSIGN()

pv_area::DISABLE_COPY_AND_ASSIGN ( pv_area )

◆ fetch()

pv_t pv_area::fetch ( pv_t addr,
CORE_ADDR size )

◆ find_entry()

struct pv_area::area_entry * pv_area::find_entry ( CORE_ADDR offset)
private

◆ find_reg()

bool pv_area::find_reg ( struct gdbarch * gdbarch,
int reg,
CORE_ADDR * offset_p )

◆ overlaps()

int pv_area::overlaps ( struct area_entry * entry,
CORE_ADDR offset,
CORE_ADDR size )
private

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

References m_addr_mask, and size.

Referenced by store().

◆ scan()

void pv_area::scan ( void(*)(void *closure, pv_t addr, CORE_ADDR size, pv_t value) func,
void * closure )

◆ store()

void pv_area::store ( pv_t addr,
CORE_ADDR size,
pv_t value )

◆ store_would_trash()

bool pv_area::store_would_trash ( pv_t addr)

Member Data Documentation

◆ m_addr_mask

CORE_ADDR pv_area::m_addr_mask
private

Definition at line 323 of file prologue-value.h.

Referenced by find_entry(), and overlaps().

◆ m_base_reg

int pv_area::m_base_reg
private

Definition at line 319 of file prologue-value.h.

Referenced by scan(), and store_would_trash().

◆ m_entry

struct area_entry* pv_area::m_entry
private

Definition at line 327 of file prologue-value.h.

Referenced by clear_entries(), fetch(), find_entry(), find_reg(), scan(), and store().


The documentation for this class was generated from the following files: