GDB (xrefs)
Classes | Typedefs | Functions | Variables
/tmp/gdb-7.10/gdb/inline-frame.c File Reference
#include "defs.h"
#include "inline-frame.h"
#include "addrmap.h"
#include "block.h"
#include "frame-unwind.h"
#include "inferior.h"
#include "regcache.h"
#include "symtab.h"
#include "vec.h"
#include "frame.h"

Go to the source code of this file.

Classes

struct  inline_state
 

Typedefs

typedef struct inline_state inline_state_s
 

Functions

 DEF_VEC_O (inline_state_s)
 
static VEC (inline_state_s)
 
static struct inline_stateallocate_inline_frame_state (ptid_t ptid)
 
void clear_inline_frame_state (ptid_t ptid)
 
static void inline_frame_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
 
static struct valueinline_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum)
 
static int inline_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
 
static int block_starting_point_at (CORE_ADDR pc, const struct block *block)
 
void skip_inline_frames (ptid_t ptid)
 
void step_into_inline_frame (ptid_t ptid)
 
int inline_skipped_frames (ptid_t ptid)
 
struct symbolinline_skipped_symbol (ptid_t ptid)
 
int frame_inlined_callees (struct frame_info *this_frame)
 

Variables

const struct frame_unwind inline_frame_unwind
 

Typedef Documentation

typedef struct inline_state inline_state_s

Definition at line 58 of file inline-frame.c.

Function Documentation

static struct inline_state* allocate_inline_frame_state ( ptid_t  ptid)
static

Definition at line 97 of file inline-frame.c.

References inline_state::ptid, and VEC_safe_push.

Referenced by skip_inline_frames().

static int block_starting_point_at ( CORE_ADDR  pc,
const struct block block 
)
static
void clear_inline_frame_state ( ptid_t  ptid)
DEF_VEC_O ( inline_state_s  )
int frame_inlined_callees ( struct frame_info this_frame)
static struct value* inline_frame_prev_register ( struct frame_info this_frame,
void **  this_cache,
int  regnum 
)
static

Definition at line 184 of file inline-frame.c.

References get_frame_register_value().

static int inline_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_cache 
)
static
static void inline_frame_this_id ( struct frame_info this_frame,
void **  this_cache,
struct frame_id this_id 
)
static
int inline_skipped_frames ( ptid_t  ptid)
struct symbol* inline_skipped_symbol ( ptid_t  ptid)

Definition at line 383 of file inline-frame.c.

References gdb_assert, and inline_state::skipped_symbol.

Referenced by find_frame_sal().

void skip_inline_frames ( ptid_t  ptid)
void step_into_inline_frame ( ptid_t  ptid)

Definition at line 356 of file inline-frame.c.

References gdb_assert, reinit_frame_cache(), and inline_state::skipped_frames.

Referenced by process_event_stop_test(), and step_once().

static VEC ( inline_state_s  )
static

Variable Documentation

const struct frame_unwind inline_frame_unwind
Initial value:
= {
NULL,
}
static int inline_frame_sniffer(const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
Definition: inline-frame.c:205
static void inline_frame_this_id(struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
Definition: inline-frame.c:148
enum unwind_stop_reason default_frame_unwind_stop_reason(struct frame_info *this_frame, void **this_cache)
Definition: frame-unwind.c:180
static struct value * inline_frame_prev_register(struct frame_info *this_frame, void **this_cache, int regnum)
Definition: inline-frame.c:184

Definition at line 263 of file inline-frame.c.

Referenced by frame_unwind_init().