GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
inline-frame.c File Reference
#include "defs.h"
#include "breakpoint.h"
#include "inline-frame.h"
#include "addrmap.h"
#include "block.h"
#include "frame-unwind.h"
#include "inferior.h"
#include "gdbthread.h"
#include "regcache.h"
#include "symtab.h"
#include "frame.h"
#include <algorithm>

Go to the source code of this file.

Classes

struct  inline_state
 

Functions

static struct inline_statefind_inline_frame_state (thread_info *thread)
 
void clear_inline_frame_state (process_stratum_target *target, ptid_t filter_ptid)
 
void clear_inline_frame_state (thread_info *thread)
 
static void inline_frame_this_id (frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id)
 
static struct valueinline_frame_prev_register (frame_info_ptr this_frame, void **this_cache, int regnum)
 
static int inline_frame_sniffer (const struct frame_unwind *self, frame_info_ptr this_frame, void **this_cache)
 
static int block_starting_point_at (CORE_ADDR pc, const struct block *block)
 
static bool stopped_by_user_bp_inline_frame (const block *frame_block, bpstat *stop_chain)
 
void skip_inline_frames (thread_info *thread, bpstat *stop_chain)
 
void step_into_inline_frame (thread_info *thread)
 
int inline_skipped_frames (thread_info *thread)
 
struct symbolinline_skipped_symbol (thread_info *thread)
 
int frame_inlined_callees (frame_info_ptr this_frame)
 

Variables

static std::vector< inline_stateinline_states
 
const struct frame_unwind inline_frame_unwind
 

Function Documentation

◆ block_starting_point_at()

static int block_starting_point_at ( CORE_ADDR pc,
const struct block * block )
static

◆ clear_inline_frame_state() [1/2]

void clear_inline_frame_state ( process_stratum_target * target,
ptid_t filter_ptid )

◆ clear_inline_frame_state() [2/2]

void clear_inline_frame_state ( thread_info * thread)

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

References inline_states.

◆ find_inline_frame_state()

static struct inline_state * find_inline_frame_state ( thread_info * thread)
static

◆ frame_inlined_callees()

int frame_inlined_callees ( frame_info_ptr this_frame)

◆ inline_frame_prev_register()

static struct value * inline_frame_prev_register ( frame_info_ptr this_frame,
void ** this_cache,
int regnum )
static

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

References get_frame_register_value(), and regnum.

◆ inline_frame_sniffer()

static int inline_frame_sniffer ( const struct frame_unwind * self,
frame_info_ptr this_frame,
void ** this_cache )
static

◆ inline_frame_this_id()

static void inline_frame_this_id ( frame_info_ptr this_frame,
void ** this_cache,
struct frame_id * this_id )
static

◆ inline_skipped_frames()

int inline_skipped_frames ( thread_info * thread)

◆ inline_skipped_symbol()

struct symbol * inline_skipped_symbol ( thread_info * thread)

◆ skip_inline_frames()

void skip_inline_frames ( thread_info * thread,
bpstat * stop_chain )

◆ step_into_inline_frame()

void step_into_inline_frame ( thread_info * thread)

◆ stopped_by_user_bp_inline_frame()

static bool stopped_by_user_bp_inline_frame ( const block * frame_block,
bpstat * stop_chain )
static

Variable Documentation

◆ inline_frame_unwind

const struct frame_unwind inline_frame_unwind
Initial value:
= {
"inline",
NULL,
}
enum unwind_stop_reason default_frame_unwind_stop_reason(frame_info_ptr this_frame, void **this_cache)
@ INLINE_FRAME
Definition frame.h:193
static void inline_frame_this_id(frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id)
static struct value * inline_frame_prev_register(frame_info_ptr this_frame, void **this_cache, int regnum)
static int inline_frame_sniffer(const struct frame_unwind *self, frame_info_ptr this_frame, void **this_cache)

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

Referenced by get_frame_unwind_table().

◆ inline_states

std::vector<inline_state> inline_states
static