GDB (API)
Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/dwarf2loc.c File Reference
#include "defs.h"
#include "ui-out.h"
#include "value.h"
#include "frame.h"
#include "gdbcore.h"
#include "target.h"
#include "inferior.h"
#include "ax.h"
#include "ax-gdb.h"
#include "regcache.h"
#include "objfiles.h"
#include "exceptions.h"
#include "block.h"
#include "gdbcmd.h"
#include "dwarf2.h"
#include "dwarf2expr.h"
#include "dwarf2loc.h"
#include "dwarf2-frame.h"
#include "gdb_string.h"
#include "gdb_assert.h"

Go to the source code of this file.

Typedefs

typedef struct call_sitecall_sitep

Enumerations

enum  debug_loc_kind {
  DEBUG_LOC_END_OF_LIST = 0, DEBUG_LOC_BASE_ADDRESS = 1, DEBUG_LOC_START_END = 2, DEBUG_LOC_START_LENGTH = 3,
  DEBUG_LOC_BUFFER_OVERFLOW = -1, DEBUG_LOC_INVALID_ENTRY = -2
}

Functions

const gdb_bytedwarf2_find_location_expression (struct dwarf2_loclist_baton *baton, size_t *locexpr_length, CORE_ADDR pc)
 DEF_VEC_P (call_sitep)
struct call_site_chaincall_site_find_chain (struct gdbarch *gdbarch, CORE_ADDR caller_pc, CORE_ADDR callee_pc)
struct value * dwarf2_evaluate_loc_desc (struct type *type, struct frame_info *frame, const gdb_byte *data, size_t size, struct dwarf2_per_cu_data *per_cu)
void dwarf2_compile_expr_to_ax (struct agent_expr *expr, struct axs_value *loc, struct gdbarch *arch, unsigned int addr_size, const gdb_byte *op_ptr, const gdb_byte *op_end, struct dwarf2_per_cu_data *per_cu)
void _initialize_dwarf2loc (void)

Variables

int dwarf2_always_disassemble
struct symbol_block_ops dwarf2_block_frame_base_locexpr_funcs
struct symbol_block_ops dwarf2_block_frame_base_loclist_funcs
unsigned int entry_values_debug = 0
struct symbol_computed_ops dwarf2_locexpr_funcs
struct symbol_computed_ops dwarf2_loclist_funcs
initialize_file_ftype _initialize_dwarf2loc

Typedef Documentation

typedef struct call_site* call_sitep

Definition at line 724 of file dwarf2loc.c.


Enumeration Type Documentation

Enumerator:
DEBUG_LOC_END_OF_LIST 
DEBUG_LOC_BASE_ADDRESS 
DEBUG_LOC_START_END 
DEBUG_LOC_START_LENGTH 
DEBUG_LOC_BUFFER_OVERFLOW 
DEBUG_LOC_INVALID_ENTRY 

Definition at line 64 of file dwarf2loc.c.


Function Documentation

void _initialize_dwarf2loc ( void  )

Definition at line 4231 of file dwarf2loc.c.

struct call_site_chain* call_site_find_chain ( struct gdbarch *  gdbarch,
CORE_ADDR  caller_pc,
CORE_ADDR  callee_pc 
) [read]

Definition at line 976 of file dwarf2loc.c.

void dwarf2_compile_expr_to_ax ( struct agent_expr expr,
struct axs_value loc,
struct gdbarch *  arch,
unsigned int  addr_size,
const gdb_byte op_ptr,
const gdb_byte op_end,
struct dwarf2_per_cu_data *  per_cu 
)

Definition at line 2676 of file dwarf2loc.c.

struct value* dwarf2_evaluate_loc_desc ( struct type type,
struct frame_info *  frame,
const gdb_byte data,
size_t  size,
struct dwarf2_per_cu_data *  per_cu 
) [read]

Definition at line 2412 of file dwarf2loc.c.

const gdb_byte* dwarf2_find_location_expression ( struct dwarf2_loclist_baton baton,
size_t *  locexpr_length,
CORE_ADDR  pc 
)

Definition at line 211 of file dwarf2loc.c.


Variable Documentation

Definition at line 22300 of file dwarf2read.c.

Initial value:
{
  locexpr_find_frame_base_location
}

Definition at line 384 of file dwarf2loc.c.

Initial value:
{
  loclist_find_frame_base_location
}

Definition at line 404 of file dwarf2loc.c.

Initial value:
 {
  locexpr_read_variable,
  locexpr_read_variable_at_entry,
  locexpr_read_needs_frame,
  locexpr_describe_location,
  0,    
  locexpr_tracepoint_var_ref
}

Definition at line 4039 of file dwarf2loc.c.

Initial value:
 {
  loclist_read_variable,
  loclist_read_variable_at_entry,
  loclist_read_needs_frame,
  loclist_describe_location,
  1,    
  loclist_tracepoint_var_ref
}

Definition at line 4218 of file dwarf2loc.c.

unsigned int entry_values_debug = 0

Definition at line 504 of file dwarf2loc.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines