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

#include "call-site.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 (unrelocated_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 unrelocated_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 { 
 
   unrelocated_addr   physaddr 
 
   const char *   physname 
 
   struct dwarf2_locexpr_baton *   dwarf_block 
 
   struct { 
 
      unsigned   length 
 
      const unrelocated_addr *   values 
 
   }   addresses 
 
m_loc 
 
enum kind m_loc_kind
 

Detailed Description

Definition at line 47 of file call-site.h.

Member Typedef Documentation

◆ iterate_ftype

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

Definition at line 89 of file call-site.h.

Member Enumeration Documentation

◆ kind

Enumerator
PHYSADDR 
PHYSNAME 
DWARF_BLOCK 
ADDRESSES 

Definition at line 50 of file call-site.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 unrelocated_addr * data )
inline

Definition at line 80 of file call-site.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 74 of file call-site.h.

References DWARF_BLOCK, dwarf_block, m_loc, and m_loc_kind.

◆ set_loc_physaddr()

void call_site_target::set_loc_physaddr ( unrelocated_addr physaddr)
inline

Definition at line 62 of file call-site.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 68 of file call-site.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 109 of file call-site.h.

Referenced by iterate_over_addresses(), and set_loc_dwarf_block().

◆ length

unsigned call_site_target::length

Definition at line 113 of file call-site.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 119 of file call-site.h.

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

◆ physaddr

unrelocated_addr call_site_target::physaddr

Definition at line 105 of file call-site.h.

Referenced by set_loc_physaddr().

◆ physname

const char* call_site_target::physname

Definition at line 107 of file call-site.h.

Referenced by iterate_over_addresses(), and set_loc_physname().

◆ values

const unrelocated_addr* call_site_target::values

Definition at line 114 of file call-site.h.


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