GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions | Variables
read.h File Reference
#include <queue>
#include <unordered_map>
#include "dwarf2/comp-unit-head.h"
#include "dwarf2/cooked-index.h"
#include "dwarf2/file-and-dir.h"
#include "dwarf2/index-cache.h"
#include "dwarf2/mapped-index.h"
#include "dwarf2/section.h"
#include "dwarf2/cu.h"
#include "filename-seen-cache.h"
#include "gdbsupport/gdb_obstack.h"
#include "gdbsupport/hash_enum.h"
#include "gdbsupport/function-view.h"
#include "gdbsupport/packed.h"

Go to the source code of this file.

Classes

struct  tu_stats
 
struct  dwarf2_queue_item
 
struct  dwarf2_per_cu_data_deleter
 
struct  dwarf2_per_cu_data
 
struct  signatured_type
 
struct  dwarf2_per_bfd
 
struct  dwarf2_per_bfd::tu_stats
 
struct  type_unit_group_unshareable
 
struct  dwarf2_per_objfile
 

Typedefs

typedef std::unique_ptr< dwarf2_per_cu_data, dwarf2_per_cu_data_deleterdwarf2_per_cu_data_up
 
using signatured_type_up = std::unique_ptr< signatured_type >
 

Enumerations

enum  dwarf2_section_enum { DWARF2_DEBUG_FRAME , DWARF2_EH_FRAME }
 

Functions

dwarf2_per_objfileget_dwarf2_per_objfile (struct objfile *objfile)
 
struct typedwarf2_get_die_type (cu_offset die_offset, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile)
 
CORE_ADDR dwarf2_read_addr_index (dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, unsigned int addr_index)
 
struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_sect_off (sect_offset sect_off, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, gdb::function_view< CORE_ADDR()> get_frame_pc, bool resolve_abstract_p=false)
 
struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_cu_off (cu_offset offset_in_cu, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, gdb::function_view< CORE_ADDR()> get_frame_pc)
 
const gdb_byte * dwarf2_fetch_constant_bytes (sect_offset sect_off, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, obstack *obstack, LONGEST *len)
 
struct typedwarf2_fetch_die_type_sect_off (sect_offset sect_off, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, const char **var_name=nullptr)
 
void dwarf2_get_section_info (struct objfile *, enum dwarf2_section_enum, asection **, const gdb_byte **, bfd_size_type *)
 
bool producer_is_clang (struct dwarf2_cu *cu)
 

Variables

struct cmd_list_elementset_dwarf_cmdlist
 
struct cmd_list_elementshow_dwarf_cmdlist
 
unsigned int dwarf_line_debug
 

Typedef Documentation

◆ dwarf2_per_cu_data_up

Definition at line 94 of file read.h.

◆ signatured_type_up

using signatured_type_up = std::unique_ptr<signatured_type>

Definition at line 411 of file read.h.

Enumeration Type Documentation

◆ dwarf2_section_enum

Enumerator
DWARF2_DEBUG_FRAME 
DWARF2_EH_FRAME 

Definition at line 754 of file read.h.

Function Documentation

◆ dwarf2_fetch_constant_bytes()

const gdb_byte * dwarf2_fetch_constant_bytes ( sect_offset  sect_off,
dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile,
obstack *  obstack,
LONGEST *  len 
)

◆ dwarf2_fetch_die_loc_cu_off()

struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_cu_off ( cu_offset  offset_in_cu,
dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile,
gdb::function_view< CORE_ADDR()>  get_frame_pc 
)

◆ dwarf2_fetch_die_loc_sect_off()

struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_sect_off ( sect_offset  sect_off,
dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile,
gdb::function_view< CORE_ADDR()>  get_frame_pc,
bool  resolve_abstract_p = false 
)

◆ dwarf2_fetch_die_type_sect_off()

struct type * dwarf2_fetch_die_type_sect_off ( sect_offset  sect_off,
dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile,
const char **  var_name = nullptr 
)

◆ dwarf2_get_die_type()

struct type * dwarf2_get_die_type ( cu_offset  die_offset,
dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile 
)

◆ dwarf2_get_section_info()

void dwarf2_get_section_info ( struct objfile objfile,
enum  dwarf2_section_enum,
asection **  sectp,
const gdb_byte **  bufp,
bfd_size_type *  sizep 
)

◆ dwarf2_read_addr_index()

CORE_ADDR dwarf2_read_addr_index ( dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile,
unsigned int  addr_index 
)

◆ get_dwarf2_per_objfile()

dwarf2_per_objfile * get_dwarf2_per_objfile ( struct objfile objfile)

◆ producer_is_clang()

bool producer_is_clang ( struct dwarf2_cu cu)

Variable Documentation

◆ dwarf_line_debug

unsigned int dwarf_line_debug
extern

◆ set_dwarf_cmdlist

struct cmd_list_element* set_dwarf_cmdlist
extern

Definition at line 24047 of file read.c.

◆ show_dwarf_cmdlist

struct cmd_list_element* show_dwarf_cmdlist
extern

Definition at line 24048 of file read.c.