GDB (xrefs)
Classes | Functions | Variables
/home/stan/gdb/src/gdb/dummy-frame.c File Reference
#include "defs.h"
#include "dummy-frame.h"
#include "regcache.h"
#include "frame.h"
#include "inferior.h"
#include "gdb_assert.h"
#include "frame-unwind.h"
#include "command.h"
#include "gdbcmd.h"
#include "gdb_string.h"
#include "observer.h"
#include "gdbthread.h"

Go to the source code of this file.

Classes

struct  dummy_frame
struct  dummy_frame_cache

Functions

void dummy_frame_push (struct infcall_suspend_state *caller_state, const struct frame_id *dummy_id)
static void remove_dummy_frame (struct dummy_frame **dummy_ptr)
static int pop_dummy_frame_bpt (struct breakpoint *b, void *dummy_voidp)
static void pop_dummy_frame (struct dummy_frame **dummy_ptr)
static struct dummy_frame ** lookup_dummy_frame (struct frame_id dummy_id)
void dummy_frame_pop (struct frame_id dummy_id)
void dummy_frame_discard (struct frame_id dummy_id)
static void cleanup_dummy_frames (struct target_ops *target, int from_tty)
static int dummy_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_prologue_cache)
static struct valuedummy_frame_prev_register (struct frame_info *this_frame, void **this_prologue_cache, int regnum)
static void dummy_frame_this_id (struct frame_info *this_frame, void **this_prologue_cache, struct frame_id *this_id)
static void fprint_dummy_frames (struct ui_file *file)
static void maintenance_print_dummy_frames (char *args, int from_tty)
void _initialize_dummy_frame (void)

Variables

static struct dummy_framedummy_frame_stack = NULL
struct frame_unwind dummy_frame_unwind

Function Documentation

void _initialize_dummy_frame ( void  )
static void cleanup_dummy_frames ( struct target_ops target,
int  from_tty 
) [static]

Definition at line 179 of file dummy-frame.c.

References remove_dummy_frame().

void dummy_frame_discard ( struct frame_id  dummy_id)

Definition at line 165 of file dummy-frame.c.

References lookup_dummy_frame(), and remove_dummy_frame().

Referenced by check_longjmp_breakpoint_for_call_dummy().

void dummy_frame_pop ( struct frame_id  dummy_id)

Definition at line 151 of file dummy-frame.c.

References gdb_assert, lookup_dummy_frame(), and pop_dummy_frame().

Referenced by call_function_by_hand(), and frame_pop().

static struct value* dummy_frame_prev_register ( struct frame_info this_frame,
void **  this_prologue_cache,
int  regnum 
) [static, read]
void dummy_frame_push ( struct infcall_suspend_state caller_state,
const struct frame_id dummy_id 
)
static int dummy_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_prologue_cache 
) [static]
static void dummy_frame_this_id ( struct frame_info this_frame,
void **  this_prologue_cache,
struct frame_id this_id 
) [static]

Definition at line 270 of file dummy-frame.c.

References gdb_assert, and dummy_frame_cache::this_id.

static void fprint_dummy_frames ( struct ui_file file) [static]
static struct dummy_frame** lookup_dummy_frame ( struct frame_id  dummy_id) [static, read]

Definition at line 128 of file dummy-frame.c.

References frame_id_eq(), and dummy_frame::next.

Referenced by dummy_frame_discard(), and dummy_frame_pop().

static void maintenance_print_dummy_frames ( char *  args,
int  from_tty 
) [static]
static void pop_dummy_frame ( struct dummy_frame **  dummy_ptr) [static]
static int pop_dummy_frame_bpt ( struct breakpoint b,
void *  dummy_voidp 
) [static]
static void remove_dummy_frame ( struct dummy_frame **  dummy_ptr) [static]

Variable Documentation

struct dummy_frame* dummy_frame_stack = NULL [static]

Definition at line 48 of file dummy-frame.c.

Referenced by dummy_frame_push().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines