GDB (xrefs)
|
#include "gdbtypes.h"
Public Attributes | |
const char * | physname |
struct type * | type |
struct type * | fcontext |
unsigned int | is_const:1 |
unsigned int | is_volatile:1 |
unsigned int | is_private:1 |
unsigned int | is_protected:1 |
unsigned int | is_artificial:1 |
unsigned int | is_stub:1 |
unsigned int | is_constructor: 1 |
unsigned int | is_deleted: 1 |
__extension__ enum dwarf_defaulted_attribute | defaulted: 2 |
unsigned int | dummy:6 |
unsigned int | voffset:16 |
Definition at line 1536 of file gdbtypes.h.
__extension__ enum dwarf_defaulted_attribute fn_field::defaulted |
DW_AT_defaulted attribute for this function. The value is one of the DW_DEFAULTED constants.
Definition at line 1587 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn().
unsigned int fn_field::dummy |
Unused.
Definition at line 1591 of file gdbtypes.h.
struct type* fn_field::fcontext |
For virtual functions. First baseclass that defines this virtual function.
Definition at line 1561 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn().
unsigned int fn_field::is_artificial |
Definition at line 1569 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn().
unsigned int fn_field::is_const |
Definition at line 1565 of file gdbtypes.h.
Referenced by gdb_mangle_name().
unsigned int fn_field::is_constructor |
True if this function is a constructor, false otherwise.
Definition at line 1578 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), dwarf2_add_member_fn(), and gdb_mangle_name().
unsigned int fn_field::is_deleted |
True if this function is deleted, false otherwise.
Definition at line 1582 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn().
unsigned int fn_field::is_private |
Definition at line 1567 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn().
unsigned int fn_field::is_protected |
Definition at line 1568 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn().
unsigned int fn_field::is_stub |
A stub method only has some fields valid (but they are enough to reconstruct the rest of the fields).
Definition at line 1574 of file gdbtypes.h.
unsigned int fn_field::is_volatile |
Definition at line 1566 of file gdbtypes.h.
Referenced by gdb_mangle_name().
const char* fn_field::physname |
If is_stub is clear, this is the mangled name which we can look up to find the address of the method (FIXME: it would be cleaner to have a pointer to the struct symbol here instead).
If is_stub is set, this is the portion of the mangled name which specifies the arguments. For example, "ii", if there are two int arguments, or "" if there are no arguments. See gdb_mangle_name for the conversion from this format to the one used if is_stub is clear.
Definition at line 1548 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), dwarf2_add_member_fn(), and gdb_mangle_name().
struct type* fn_field::type |
The function type for the method.
(This comment used to say "The return value of the method", but that's wrong. The function type is expected here, i.e. something with TYPE_CODE_METHOD, and not the return-value type).
Definition at line 1556 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn().
unsigned int fn_field::voffset |
Index into that baseclass's virtual function table, minus 2; else if static: VOFFSET_STATIC; else: 0.
Definition at line 1596 of file gdbtypes.h.
Referenced by compute_vtable_size(), dwarf2_add_member_fn(), and gnuv3_find_method_in().