GDB (xrefs)
Public Attributes | List of all members
field_location Union Reference

#include "gdbtypes.h"

Public Attributes

int bitpos
 
LONGEST enumval
 
CORE_ADDR physaddr
 
const char * physname
 
struct dwarf2_locexpr_batondwarf_block
 

Detailed Description

Definition at line 498 of file gdbtypes.h.

Member Data Documentation

int field_location::bitpos

Position of this field, counting in bits from start of containing structure. For gdbarch_bits_big_endian=1 targets, it is the bit offset to the MSB. For gdbarch_bits_big_endian=0 targets, it is the bit offset to the LSB.

Definition at line 506 of file gdbtypes.h.

struct dwarf2_locexpr_baton* field_location::dwarf_block

The field location can be computed by evaluating the following DWARF block. Its DATA is allocated on objfile_obstack - no CU load is needed to access it.

Definition at line 523 of file gdbtypes.h.

LONGEST field_location::enumval

Enum value.

Definition at line 509 of file gdbtypes.h.

CORE_ADDR field_location::physaddr

For a static field, if TYPE_FIELD_STATIC_HAS_ADDR then physaddr is the location (in the target) of the static field. Otherwise, physname is the mangled label of the static field.

Definition at line 516 of file gdbtypes.h.

const char* field_location::physname

Definition at line 517 of file gdbtypes.h.


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