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

#include "gdbtypes.h"

Public Types

enum  kind { PHYSADDR , PHYSNAME , DWARF_BLOCK , ADDRESSES }
 
using iterate_ftype = gdb::function_view< void(CORE_ADDR)>
 

Public Member Functions

void set_loc_physaddr (CORE_ADDR physaddr)
 
void set_loc_physname (const char *physname)
 
void set_loc_dwarf_block (dwarf2_locexpr_baton *dwarf_block)
 
void set_loc_array (unsigned length, const CORE_ADDR *data)
 
void iterate_over_addresses (struct gdbarch *call_site_gdbarch, const struct call_site *call_site, frame_info_ptr caller_frame, iterate_ftype callback) const
 

Private Attributes

union { 
 
   CORE_ADDR   physaddr 
 
   const char *   physname 
 
   struct dwarf2_locexpr_baton *   dwarf_block 
 
   struct { 
 
      unsigned   length 
 
      const CORE_ADDR *   values 
 
   }   addresses 
 
m_loc 
 
enum kind m_loc_kind
 

Detailed Description

Definition at line 1768 of file gdbtypes.h.

Member Typedef Documentation

◆ iterate_ftype

using call_site_target::iterate_ftype = gdb::function_view<void (CORE_ADDR)>

Definition at line 1810 of file gdbtypes.h.

Member Enumeration Documentation

◆ kind

Enumerator
PHYSADDR 
PHYSNAME 
DWARF_BLOCK 
ADDRESSES 

Definition at line 1771 of file gdbtypes.h.

Member Function Documentation

◆ iterate_over_addresses()

void call_site_target::iterate_over_addresses ( struct gdbarch call_site_gdbarch,
const struct call_site call_site,
frame_info_ptr  caller_frame,
iterate_ftype  callback 
) const

◆ set_loc_array()

void call_site_target::set_loc_array ( unsigned  length,
const CORE_ADDR *  data 
)
inline

Definition at line 1801 of file gdbtypes.h.

References ADDRESSES, length, m_loc, and m_loc_kind.

◆ set_loc_dwarf_block()

void call_site_target::set_loc_dwarf_block ( dwarf2_locexpr_baton dwarf_block)
inline

Definition at line 1795 of file gdbtypes.h.

References DWARF_BLOCK, dwarf_block, m_loc, and m_loc_kind.

◆ set_loc_physaddr()

void call_site_target::set_loc_physaddr ( CORE_ADDR  physaddr)
inline

Definition at line 1783 of file gdbtypes.h.

References m_loc, m_loc_kind, PHYSADDR, and physaddr.

◆ set_loc_physname()

void call_site_target::set_loc_physname ( const char *  physname)
inline

Definition at line 1789 of file gdbtypes.h.

References m_loc, m_loc_kind, PHYSNAME, and physname.

Member Data Documentation

◆ [struct]

struct { ... } call_site_target::addresses

◆ dwarf_block

struct dwarf2_locexpr_baton* call_site_target::dwarf_block

Definition at line 1830 of file gdbtypes.h.

Referenced by iterate_over_addresses(), and set_loc_dwarf_block().

◆ length

unsigned call_site_target::length

Definition at line 1834 of file gdbtypes.h.

Referenced by set_loc_array().

◆ [union]

union { ... } call_site_target::m_loc

◆ m_loc_kind

enum kind call_site_target::m_loc_kind
private

Discriminant for union field_location.

Definition at line 1840 of file gdbtypes.h.

Referenced by iterate_over_addresses(), set_loc_array(), set_loc_dwarf_block(), set_loc_physaddr(), and set_loc_physname().

◆ physaddr

CORE_ADDR call_site_target::physaddr

Definition at line 1826 of file gdbtypes.h.

Referenced by set_loc_physaddr().

◆ physname

const char* call_site_target::physname

Definition at line 1828 of file gdbtypes.h.

Referenced by iterate_over_addresses(), and set_loc_physname().

◆ values

const CORE_ADDR* call_site_target::values

Definition at line 1835 of file gdbtypes.h.


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