GDB (xrefs)
Loading...
Searching...
No Matches
Public Attributes | List of all members
field_location Union Reference

#include "gdbtypes.h"

Public Attributes

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

Detailed Description

Definition at line 518 of file gdbtypes.h.

Member Data Documentation

◆ bitpos

LONGEST field_location::bitpos

Position of this field, counting in bits from start of containing structure. For big-endian targets, it is the bit offset to the MSB. For little-endian targets, it is the bit offset to the LSB.

Definition at line 525 of file gdbtypes.h.

Referenced by field::loc_bitpos(), and field::set_loc_bitpos().

◆ dwarf_block

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 542 of file gdbtypes.h.

Referenced by field::loc_dwarf_block(), and field::set_loc_dwarf_block().

◆ enumval

LONGEST field_location::enumval

Enum value.

Definition at line 528 of file gdbtypes.h.

Referenced by field::loc_enumval(), and field::set_loc_enumval().

◆ physaddr

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 535 of file gdbtypes.h.

Referenced by field::loc_physaddr(), and field::set_loc_physaddr().

◆ physname

const char* field_location::physname

Definition at line 536 of file gdbtypes.h.

Referenced by field::loc_physname(), and field::set_loc_physname().


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