GDB (xrefs)

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_baton * | dwarf_block

## Detailed Description

Definition at line 489 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 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 497 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 514 of file gdbtypes.h.

## ◆ enumval

LONGEST field_location::enumval

Enum value.

Definition at line 500 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 507 of file gdbtypes.h.

## ◆ physname

const char* field_location::physname

Definition at line 508 of file gdbtypes.h.

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

- /tmp/gdb-8.1/gdb/gdbtypes.h