GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | dwarf_expr_piece |
struct | dwarf_stack_value |
struct | dwarf_expr_context |
Enumerations | |
enum | dwarf_value_location { DWARF_VALUE_MEMORY , DWARF_VALUE_REGISTER , DWARF_VALUE_STACK , DWARF_VALUE_LITERAL , DWARF_VALUE_OPTIMIZED_OUT , DWARF_VALUE_IMPLICIT_POINTER } |
Functions | |
CORE_ADDR | read_addr_from_reg (frame_info_ptr frame, int reg) |
void | dwarf_expr_require_composition (const gdb_byte *, const gdb_byte *, const char *) |
int | dwarf_block_to_dwarf_reg (const gdb_byte *buf, const gdb_byte *buf_end) |
int | dwarf_block_to_dwarf_reg_deref (const gdb_byte *buf, const gdb_byte *buf_end, CORE_ADDR *deref_size_return) |
int | dwarf_block_to_fb_offset (const gdb_byte *buf, const gdb_byte *buf_end, CORE_ADDR *fb_offset_return) |
int | dwarf_block_to_sp_offset (struct gdbarch *gdbarch, const gdb_byte *buf, const gdb_byte *buf_end, CORE_ADDR *sp_offset_return) |
static const gdb_byte * | gdb_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end, uint64_t *r) |
static const gdb_byte * | gdb_read_sleb128 (const gdb_byte *buf, const gdb_byte *buf_end, int64_t *r) |
static const gdb_byte * | gdb_skip_leb128 (const gdb_byte *buf, const gdb_byte *buf_end) |
const gdb_byte * | safe_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end, uint64_t *r) |
const gdb_byte * | safe_read_sleb128 (const gdb_byte *buf, const gdb_byte *buf_end, int64_t *r) |
const gdb_byte * | safe_skip_leb128 (const gdb_byte *buf, const gdb_byte *buf_end) |
enum dwarf_value_location |
int dwarf_block_to_dwarf_reg | ( | const gdb_byte * | buf, |
const gdb_byte * | buf_end ) |
Definition at line 1324 of file expr.c.
References gdb_read_uleb128(), and gdb_skip_leb128().
Referenced by dwarf_expr_context::execute_stack_op(), read_call_site_scope(), and value_of_dwarf_block_entry().
int dwarf_block_to_dwarf_reg_deref | ( | const gdb_byte * | buf, |
const gdb_byte * | buf_end, | ||
CORE_ADDR * | deref_size_return ) |
Definition at line 1367 of file expr.c.
References gdb_read_sleb128(), and gdb_read_uleb128().
Referenced by dwarf_expr_context::execute_stack_op().
int dwarf_block_to_fb_offset | ( | const gdb_byte * | buf, |
const gdb_byte * | buf_end, | ||
CORE_ADDR * | fb_offset_return ) |
Definition at line 1426 of file expr.c.
References gdb_read_sleb128().
Referenced by value_of_dwarf_block_entry().
int dwarf_block_to_sp_offset | ( | struct gdbarch * | gdbarch, |
const gdb_byte * | buf, | ||
const gdb_byte * | buf_end, | ||
CORE_ADDR * | sp_offset_return ) |
Definition at line 1453 of file expr.c.
References dwarf_reg_to_regnum(), gdb_read_sleb128(), gdb_read_uleb128(), and gdbarch_sp_regnum().
Referenced by read_call_site_scope().
void dwarf_expr_require_composition | ( | const gdb_byte * | op_ptr, |
const gdb_byte * | op_end, | ||
const char * | op_name ) |
Definition at line 1295 of file expr.c.
Referenced by do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), and dwarf_expr_context::execute_stack_op().
|
inlinestatic |
Definition at line 292 of file expr.h.
Referenced by decode_frame_entry_1(), dwarf_block_to_dwarf_reg_deref(), dwarf_block_to_fb_offset(), dwarf_block_to_sp_offset(), and safe_read_sleb128().
|
inlinestatic |
Definition at line 281 of file expr.h.
Referenced by decode_debug_loc_dwo_addresses(), decode_debug_loclists_addresses(), decode_frame_entry_1(), dwarf_block_to_dwarf_reg(), dwarf_block_to_dwarf_reg_deref(), dwarf_block_to_sp_offset(), recognize_bound_expression(), and safe_read_uleb128().
|
inlinestatic |
Definition at line 303 of file expr.h.
Referenced by dwarf_block_to_dwarf_reg(), safe_skip_leb128(), and skip_form_bytes().
CORE_ADDR read_addr_from_reg | ( | frame_info_ptr | frame, |
int | reg ) |
Definition at line 81 of file expr.c.
References address_from_register(), dwarf_reg_to_regnum_or_error(), get_frame_arch(), and regnum.
Referenced by dwarf2_frame_cache(), and dwarf_expr_context::execute_stack_op().
|
extern |
Definition at line 1271 of file expr.c.
References gdb_read_sleb128().
Referenced by compute_stack_depth_worker(), disassemble_dwarf_expression(), do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), execute_cfa_program(), dwarf_expr_context::execute_stack_op(), locexpr_describe_location_piece(), and read_encoded_value().
|
extern |
Definition at line 1259 of file expr.c.
References gdb_read_uleb128().
Referenced by compute_stack_depth_worker(), disassemble_dwarf_expression(), do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), dwarf2_get_symbol_read_needs(), execute_cfa_program(), dwarf_expr_context::execute_stack_op(), get_mpz(), locexpr_describe_location_1(), locexpr_describe_location_piece(), and read_encoded_value().
|
extern |
Definition at line 1281 of file expr.c.
References gdb_skip_leb128().
Referenced by dwarf2_get_symbol_read_needs(), and skip_one_die().