GDB (xrefs)
|
#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 | |
Definition at line 1768 of file gdbtypes.h.
using call_site_target::iterate_ftype = gdb::function_view<void (CORE_ADDR)> |
Definition at line 1810 of file gdbtypes.h.
Enumerator | |
---|---|
PHYSADDR | |
PHYSNAME | |
DWARF_BLOCK | |
ADDRESSES |
Definition at line 1771 of file gdbtypes.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 638 of file loc.c.
References ADDRESSES, compunit_symtab::block_line_section(), builtin_type::builtin_func_ptr, dwarf_block::data, dwarf2_evaluate_loc_desc(), DWARF_BLOCK, dwarf_block, get_frame_arch(), dwarf2_per_objfile::get_symtab(), lookup_minimal_symbol(), lookup_minimal_symbol_by_pc(), lval_memory, m_loc, m_loc_kind, bound_minimal_symbol::minsym, dwarf2_per_objfile::objfile, paddress(), call_site::pc(), call_site::per_cu, call_site::per_objfile, PHYSADDR, PHYSNAME, physname, general_symbol_info::print_name(), sect_idx, objfile::section_offsets, dwarf_block::size, bound_minimal_symbol::value_address(), value_address(), value_as_address(), and VALUE_LVAL.
|
inline |
Definition at line 1801 of file gdbtypes.h.
References ADDRESSES, length, m_loc, and m_loc_kind.
|
inline |
Definition at line 1795 of file gdbtypes.h.
References DWARF_BLOCK, dwarf_block, m_loc, and m_loc_kind.
|
inline |
Definition at line 1783 of file gdbtypes.h.
References m_loc, m_loc_kind, PHYSADDR, and physaddr.
|
inline |
Definition at line 1789 of file gdbtypes.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 1830 of file gdbtypes.h.
Referenced by iterate_over_addresses(), and set_loc_dwarf_block().
unsigned call_site_target::length |
Definition at line 1834 of file gdbtypes.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 1840 of file gdbtypes.h.
Referenced by iterate_over_addresses(), set_loc_array(), set_loc_dwarf_block(), set_loc_physaddr(), and set_loc_physname().
CORE_ADDR call_site_target::physaddr |
Definition at line 1826 of file gdbtypes.h.
Referenced by set_loc_physaddr().
const char* call_site_target::physname |
Definition at line 1828 of file gdbtypes.h.
Referenced by iterate_over_addresses(), and set_loc_physname().
const CORE_ADDR* call_site_target::values |
Definition at line 1835 of file gdbtypes.h.