GDB (xrefs)
Loading...
Searching...
No Matches
gdb_lzma_stream Struct Reference
Inheritance diagram for gdb_lzma_stream:
gdb_bfd_iovec_base

Public Member Functions

 ~gdb_lzma_stream ()
 
file_ptr read (bfd *abfd, void *buffer, file_ptr nbytes, file_ptr offset) override
 
int stat (struct bfd *abfd, struct stat *sb) override
 
- Public Member Functions inherited from gdb_bfd_iovec_base
virtual ~gdb_bfd_iovec_base ()=default
 

Public Attributes

asection * section = nullptr
 
lzma_index * index = nullptr
 
bfd_size_type data_start = 0
 
bfd_size_type data_end = 0
 
gdb::byte_vector data
 

Additional Inherited Members

- Protected Member Functions inherited from gdb_bfd_iovec_base
 gdb_bfd_iovec_base ()=default
 

Detailed Description

Definition at line 60 of file minidebug.c.

Constructor & Destructor Documentation

◆ ~gdb_lzma_stream()

gdb_lzma_stream::~gdb_lzma_stream ( )
inline

Definition at line 74 of file minidebug.c.

References gdb_lzma_allocator, and index.

Member Function Documentation

◆ read()

file_ptr gdb_lzma_stream::read ( bfd * abfd,
void * buffer,
file_ptr nbytes,
file_ptr offset )
overridevirtual

Implements gdb_bfd_iovec_base.

Definition at line 140 of file minidebug.c.

References data, data_end, data_start, gdb_lzma_allocator, index, section, and SEEK_SET.

◆ stat()

int gdb_lzma_stream::stat ( struct bfd * abfd,
struct stat * sb )
overridevirtual

Implements gdb_bfd_iovec_base.

Definition at line 209 of file minidebug.c.

References index, and stat().

Referenced by stat().

Member Data Documentation

◆ data

gdb::byte_vector gdb_lzma_stream::data

Definition at line 71 of file minidebug.c.

Referenced by read().

◆ data_end

bfd_size_type gdb_lzma_stream::data_end = 0

Definition at line 70 of file minidebug.c.

Referenced by read().

◆ data_start

bfd_size_type gdb_lzma_stream::data_start = 0

Definition at line 69 of file minidebug.c.

Referenced by read().

◆ index

lzma_index* gdb_lzma_stream::index = nullptr

Definition at line 66 of file minidebug.c.

Referenced by lzma_open(), read(), stat(), and ~gdb_lzma_stream().

◆ section

asection* gdb_lzma_stream::section = nullptr

Definition at line 63 of file minidebug.c.

Referenced by find_separate_debug_file_in_section(), lzma_open(), and read().


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