GDB (xrefs)
|
Classes | |
struct | found_field |
Public Member Functions | |
struct_field_searcher (const char *name, struct type *outermost_type, bool looking_for_baseclass) | |
void | search (struct value *arg, LONGEST offset, struct type *type) |
const std::vector< found_field > & | fields () |
struct value * | baseclass () |
Private Member Functions | |
void | update_result (struct value *v, LONGEST boffset) |
Private Attributes | |
const char * | m_name |
const bool | m_looking_for_baseclass |
LONGEST | m_last_boffset = 0 |
struct value * | m_baseclass = nullptr |
std::vector< found_field > | m_fields |
struct type * | m_outermost_type |
std::vector< struct type * > | m_struct_path |
|
inline |
|
inline |
Definition at line 1897 of file valops.c.
References m_baseclass.
Referenced by search_struct_field().
|
inline |
Definition at line 1992 of file valops.c.
References value::address, baseclass_offset(), BASETYPE_VIA_VIRTUAL, check_typedef(), type::code(), value::contents_for_printing(), value::contents_raw(), value::copy(), value::deprecated_set_type(), value::embedded_offset(), value::enclosing_type(), type::field(), field::is_static(), type::length(), field::loc_bitpos(), m_looking_for_baseclass, m_name, m_struct_path, field::name(), type::name(), type::num_fields(), value::primitive_field(), search(), value::set_embedded_offset(), strcmp_iw(), target_read_memory(), field::type(), value::type(), TYPE_BASECLASS, TYPE_BASECLASS_BITPOS, TYPE_BASECLASS_NAME, TYPE_N_BASECLASSES, update_result(), value_at_lazy(), and value_static_field().
Referenced by search(), and search_struct_field().
|
private |
Definition at line 1934 of file valops.c.
References m_baseclass, m_fields, m_last_boffset, m_looking_for_baseclass, m_name, m_outermost_type, m_struct_path, and TYPE_SAFE_NAME.
Referenced by search().
Definition at line 1917 of file valops.c.
Referenced by baseclass(), and update_result().
|
private |
Definition at line 1921 of file valops.c.
Referenced by fields(), and update_result().
|
private |
Definition at line 1914 of file valops.c.
Referenced by update_result().
|
private |
Definition at line 1910 of file valops.c.
Referenced by search(), and update_result().
|
private |
Definition at line 1907 of file valops.c.
Referenced by search(), and update_result().
|
private |
Definition at line 1925 of file valops.c.
Referenced by update_result().
|
private |
Definition at line 1930 of file valops.c.
Referenced by search(), and update_result().