GDB (xrefs)
Public Attributes | List of all members
field Struct Reference

#include "gdbtypes.h"

Public Attributes

union field_location loc
 
unsigned int artificial: 1
 
__extension__ enum field_loc_kind loc_kind: 3
 
unsigned int bitsize: 28
 
struct typetype
 
const char * name
 

Detailed Description

Definition at line 526 of file gdbtypes.h.

Member Data Documentation

unsigned int field::artificial

For a function or member type, this is 1 if the argument is marked artificial. Artificial arguments should not be shown to the user. For TYPE_CODE_RANGE it is set if the specific bound is not defined.

Definition at line 535 of file gdbtypes.h.

unsigned int field::bitsize

Size of this field, in bits, or zero if not packed. If non-zero in an array type, indicates the element size in bits (used only in Ada at the moment). For an unpacked field, the field's type's length says how many bytes the field occupies.

Definition at line 547 of file gdbtypes.h.

Referenced by parse_symbol().

union field_location field::loc

Definition at line 528 of file gdbtypes.h.

__extension__ enum field_loc_kind field::loc_kind

Discriminant for union field_location.

Definition at line 539 of file gdbtypes.h.

const char* field::name

Name of field, value or argument. NULL for range bounds, array domains, and member function arguments.

Definition at line 559 of file gdbtypes.h.

Referenced by coff_read_struct_type(), dwarf2_add_field(), parse_symbol(), read_baseclasses(), read_cpp_abbrev(), and read_one_struct_field().

struct type* field::type

In a struct or union type, type of this field.

  • In a function or member type, type of this argument.
  • In an array type, the domain-type of the array.

Definition at line 553 of file gdbtypes.h.

Referenced by check_stub_method(), dwarf2_add_field(), read_baseclasses(), read_cpp_abbrev(), and read_one_struct_field().


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