GDB (xrefs)
|
#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 | |
Definition at line 47 of file call-site.h.
using call_site_target::iterate_ftype = gdb::function_view<void (CORE_ADDR)> |
Definition at line 89 of file call-site.h.
Enumerator | |
---|---|
PHYSADDR | |
PHYSNAME | |
DWARF_BLOCK | |
ADDRESSES |
Definition at line 50 of file call-site.h.
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 |
Definition at line 652 of file loc.c.
References value::address, ADDRESSES, builtin_type::builtin_func_ptr, builtin_type(), current_inferior(), dwarf_block::data, dwarf2_evaluate_loc_desc(), DWARF_BLOCK, dwarf_block, gdbarch_convert_from_func_ptr_addr(), get_frame_arch(), lookup_minimal_symbol(), lookup_minimal_symbol_by_pc(), value::lval(), lval_memory, m_loc, m_loc_kind, bound_minimal_symbol::minsym, paddress(), call_site::pc(), call_site::per_objfile, PHYSADDR, PHYSNAME, physname, general_symbol_info::print_name(), dwarf2_per_objfile::relocate(), dwarf_block::size, bound_minimal_symbol::value_address(), and value_as_address().
|
inline |
Definition at line 80 of file call-site.h.
References ADDRESSES, length, m_loc, and m_loc_kind.
|
inline |
Definition at line 74 of file call-site.h.
References DWARF_BLOCK, dwarf_block, m_loc, and m_loc_kind.
|
inline |
Definition at line 62 of file call-site.h.
References m_loc, m_loc_kind, PHYSADDR, and physaddr.
|
inline |
Definition at line 68 of file call-site.h.
References m_loc, m_loc_kind, PHYSNAME, and physname.
struct { ... } call_site_target::addresses |
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().
unsigned call_site_target::length |
Definition at line 113 of file call-site.h.
Referenced by set_loc_array().
union { ... } call_site_target::m_loc |
Referenced by iterate_over_addresses(), set_loc_array(), set_loc_dwarf_block(), set_loc_physaddr(), and set_loc_physname().
|
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().
unrelocated_addr call_site_target::physaddr |
Definition at line 105 of file call-site.h.
Referenced by set_loc_physaddr().
const char* call_site_target::physname |
Definition at line 107 of file call-site.h.
Referenced by iterate_over_addresses(), and set_loc_physname().
const unrelocated_addr* call_site_target::values |
Definition at line 114 of file call-site.h.