GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
comp_unit_head Struct Reference

#include "comp-unit-head.h"

Public Member Functions

unsigned int get_length () const
 
bool offset_in_cu_p (sect_offset off) const
 
LONGEST read_offset (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read) const
 
CORE_ADDR read_address (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read) const
 

Public Attributes

unsigned int length
 
unsigned char version
 
unsigned char addr_size
 
unsigned char signed_addr_p
 
sect_offset abbrev_sect_off
 
unsigned int offset_size
 
unsigned int initial_length_size
 
enum dwarf_unit_type unit_type
 
cu_offset first_die_cu_offset
 
sect_offset sect_off
 
cu_offset type_cu_offset_in_tu
 
ULONGEST signature
 

Detailed Description

Definition at line 35 of file comp-unit-head.h.

Member Function Documentation

◆ get_length()

unsigned int comp_unit_head::get_length ( ) const
inline

◆ offset_in_cu_p()

bool comp_unit_head::offset_in_cu_p ( sect_offset  off) const
inline

Definition at line 75 of file comp-unit-head.h.

References get_length(), and sect_off.

◆ read_address()

CORE_ADDR comp_unit_head::read_address ( bfd *  abfd,
const gdb_byte *  buf,
unsigned int *  bytes_read 
) const

Definition at line 197 of file comp-unit-head.c.

References addr_size, and signed_addr_p.

Referenced by read_attribute_value().

◆ read_offset()

LONGEST comp_unit_head::read_offset ( bfd *  abfd,
const gdb_byte *  buf,
unsigned int *  bytes_read 
) const
inline

Member Data Documentation

◆ abbrev_sect_off

sect_offset comp_unit_head::abbrev_sect_off

Definition at line 41 of file comp-unit-head.h.

Referenced by error_check_comp_unit_head(), and read_comp_unit_head().

◆ addr_size

unsigned char comp_unit_head::addr_size

◆ first_die_cu_offset

cu_offset comp_unit_head::first_die_cu_offset

Definition at line 53 of file comp-unit-head.h.

Referenced by read_and_check_comp_unit_head().

◆ initial_length_size

unsigned int comp_unit_head::initial_length_size

◆ length

unsigned int comp_unit_head::length

◆ offset_size

unsigned int comp_unit_head::offset_size

◆ sect_off

sect_offset comp_unit_head::sect_off

◆ signature

ULONGEST comp_unit_head::signature

◆ signed_addr_p

unsigned char comp_unit_head::signed_addr_p

Definition at line 40 of file comp-unit-head.h.

Referenced by read_address(), and read_comp_unit_head().

◆ type_cu_offset_in_tu

cu_offset comp_unit_head::type_cu_offset_in_tu

◆ unit_type

enum dwarf_unit_type comp_unit_head::unit_type

◆ version

unsigned char comp_unit_head::version

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