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

#include "comp-unit-head.h"

Public Member Functions

void set_length (unsigned int length)
 
unsigned int get_length_with_initial () const
 
unsigned int get_length_without_initial () const
 
bool offset_in_cu_p (sect_offset off) const
 
LONGEST read_offset (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read) const
 
unrelocated_addr read_address (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read) const
 

Public Attributes

unsigned char version = 0
 
unsigned char addr_size = 0
 
unsigned char signed_addr_p = 0
 
sect_offset abbrev_sect_off {}
 
unsigned int offset_size = 0
 
unsigned int initial_length_size = 0
 
cu_offset first_die_cu_offset {}
 
sect_offset sect_off {}
 
cu_offset type_cu_offset_in_tu {}
 
ULONGEST signature = 0
 

Private Attributes

unsigned int m_length = 0
 

Detailed Description

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

Member Function Documentation

◆ get_length_with_initial()

unsigned int comp_unit_head::get_length_with_initial ( ) const
inline

◆ get_length_without_initial()

unsigned int comp_unit_head::get_length_without_initial ( ) const
inline

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

References m_length.

Referenced by error_check_comp_unit_head(), load_full_comp_unit(), and read_signatured_type().

◆ offset_in_cu_p()

bool comp_unit_head::offset_in_cu_p ( sect_offset off) const
inline

◆ read_address()

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

◆ read_offset()

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

◆ set_length()

void comp_unit_head::set_length ( unsigned int length)
inline

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

References m_length.

Referenced by read_comp_unit_head().

Member Data Documentation

◆ abbrev_sect_off

sect_offset comp_unit_head::abbrev_sect_off {}

◆ addr_size

unsigned char comp_unit_head::addr_size = 0

◆ first_die_cu_offset

cu_offset comp_unit_head::first_die_cu_offset {}

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

Referenced by cutu_reader::cutu_reader(), and read_and_check_comp_unit_head().

◆ initial_length_size

unsigned int comp_unit_head::initial_length_size = 0

◆ m_length

unsigned int comp_unit_head::m_length = 0
private

◆ offset_size

unsigned int comp_unit_head::offset_size = 0

◆ sect_off

sect_offset comp_unit_head::sect_off {}

◆ signature

ULONGEST comp_unit_head::signature = 0

◆ signed_addr_p

unsigned char comp_unit_head::signed_addr_p = 0

Definition at line 45 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 {}

◆ version

unsigned char comp_unit_head::version = 0

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