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

#include "trad-frame.h"

Public Member Functions

void set_value (LONGEST val)
 
void set_realreg (int realreg)
 
void set_addr (LONGEST addr)
 
void set_unknown ()
 
void set_value_bytes (gdb::array_view< const gdb_byte > bytes)
 
LONGEST value () const
 
int realreg () const
 
LONGEST addr () const
 
const gdb_byte * value_bytes () const
 
bool is_value () const
 
bool is_realreg () const
 
bool is_addr () const
 
bool is_unknown () const
 
bool is_value_bytes () const
 

Private Attributes

trad_frame_saved_reg_kind m_kind
 
union { 
 
   LONGEST   value 
 
   int   realreg 
 
   LONGEST   addr 
 
   const gdb_byte *   value_bytes 
 
m_reg 
 

Detailed Description

Definition at line 82 of file trad-frame.h.

Member Function Documentation

◆ addr()

LONGEST trad_frame_saved_reg::addr ( ) const
inline

Definition at line 141 of file trad-frame.h.

References ADDR, m_kind, and m_reg.

◆ is_addr()

bool trad_frame_saved_reg::is_addr ( ) const
inline

◆ is_realreg()

bool trad_frame_saved_reg::is_realreg ( ) const
inline

Definition at line 160 of file trad-frame.h.

References m_kind, and REALREG.

Referenced by arm_exidx_fill_cache(), and set_reg_offset().

◆ is_unknown()

bool trad_frame_saved_reg::is_unknown ( ) const
inline

Definition at line 170 of file trad-frame.h.

References m_kind, and UNKNOWN.

◆ is_value()

bool trad_frame_saved_reg::is_value ( ) const
inline

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

References m_kind, and VALUE.

Referenced by aarch64_prologue_prev_register().

◆ is_value_bytes()

bool trad_frame_saved_reg::is_value_bytes ( ) const
inline

Definition at line 175 of file trad-frame.h.

References m_kind, and VALUE_BYTES.

◆ realreg()

int trad_frame_saved_reg::realreg ( ) const
inline

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

References m_kind, m_reg, and REALREG.

◆ set_addr()

void trad_frame_saved_reg::set_addr ( LONGEST addr)
inline

◆ set_realreg()

void trad_frame_saved_reg::set_realreg ( int realreg)
inline

◆ set_unknown()

void trad_frame_saved_reg::set_unknown ( )
inline

◆ set_value()

void trad_frame_saved_reg::set_value ( LONGEST val)
inline

◆ set_value_bytes()

void trad_frame_saved_reg::set_value_bytes ( gdb::array_view< const gdb_byte > bytes)
inline

Definition at line 117 of file trad-frame.h.

References FRAME_OBSTACK_CALLOC, m_kind, m_reg, and VALUE_BYTES.

Referenced by trad_frame_set_reg_value_bytes().

◆ value()

LONGEST trad_frame_saved_reg::value ( ) const
inline

◆ value_bytes()

const gdb_byte * trad_frame_saved_reg::value_bytes ( ) const
inline

Definition at line 147 of file trad-frame.h.

References m_kind, m_reg, and VALUE_BYTES.

Member Data Documentation

◆ addr

LONGEST trad_frame_saved_reg::addr

◆ m_kind

trad_frame_saved_reg_kind trad_frame_saved_reg::m_kind
private

◆ [union]

union { ... } trad_frame_saved_reg::m_reg

◆ realreg

int trad_frame_saved_reg::realreg

Definition at line 186 of file trad-frame.h.

Referenced by arm_exidx_fill_cache(), set_realreg(), and set_reg_offset().

◆ value

LONGEST trad_frame_saved_reg::value

◆ value_bytes

const gdb_byte* trad_frame_saved_reg::value_bytes

Definition at line 188 of file trad-frame.h.


The documentation for this struct was generated from the following file: