GDB (API)
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 charphysname
 
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.

◆ 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.

◆ enumval

LONGEST field_location::enumval

Enum value.

Definition at line 528 of file gdbtypes.h.

◆ 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.

◆ physname

const char* field_location::physname

Definition at line 536 of file gdbtypes.h.


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