GDB (xrefs)
Classes | Typedefs | Functions | Variables
/home/stan/gdb/src/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 "gdb_assert.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, 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

struct frame_unwind inline_frame_unwind

Typedef Documentation

typedef struct inline_state inline_state_s

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


Function Documentation

static struct inline_state* allocate_inline_frame_state ( ptid_t  ptid) [static, read]

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

References memset(), inline_state::ptid, and VEC_safe_push.

Referenced by skip_inline_frames().

static int block_starting_point_at ( CORE_ADDR  pc,
struct block block 
) [static]
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, read]

Definition at line 185 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]
struct symbol* inline_skipped_symbol ( ptid_t  ptid) [read]

Definition at line 379 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)

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

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

Referenced by handle_inferior_event(), and step_once().

static VEC ( inline_state_s  ) [static]

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines