GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/stack.c File Reference
#include "defs.h"
#include "value.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "language.h"
#include "frame.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "target.h"
#include "source.h"
#include "breakpoint.h"
#include "demangle.h"
#include "inferior.h"
#include "annotate.h"
#include "ui-out.h"
#include "block.h"
#include "stack.h"
#include "dictionary.h"
#include "exceptions.h"
#include "reggroups.h"
#include "regcache.h"
#include "solib.h"
#include "valprint.h"
#include "gdbthread.h"
#include "cp-support.h"
#include "disasm.h"
#include "inline-frame.h"
#include "linespec.h"
#include "cli/cli-utils.h"
#include "gdb_assert.h"
#include <ctype.h>
#include "gdb_string.h"
#include "symfile.h"
#include "python/python.h"

Go to the source code of this file.

Functions

void print_stack_frame (struct frame_info *frame, int print_level, enum print_what print_what, int set_current_sal)
void read_frame_local (struct symbol *sym, struct frame_info *frame, struct frame_arg *argp)
void read_frame_arg (struct symbol *sym, struct frame_info *frame, struct frame_arg *argp, struct frame_arg *entryargp)
void set_current_sal_from_frame (struct frame_info *frame, int center)
void print_frame_info (struct frame_info *frame, int print_level, enum print_what print_what, int print_args, int set_current_sal)
void clear_last_displayed_sal (void)
int last_displayed_sal_is_valid (void)
struct program_spaceget_last_displayed_pspace (void)
CORE_ADDR get_last_displayed_addr (void)
struct symtabget_last_displayed_symtab (void)
int get_last_displayed_line (void)
void get_last_displayed_sal (struct symtab_and_line *sal)
void find_frame_funname (struct frame_info *frame, char **funname, enum language *funlang, struct symbol **funcp)
void iterate_over_block_local_vars (struct block *block, iterate_over_block_arg_local_vars_cb cb, void *cb_data)
void locals_info (char *args, int from_tty)
void iterate_over_block_arg_vars (struct block *b, iterate_over_block_arg_local_vars_cb cb, void *cb_data)
void args_info (char *ignore, int from_tty)
struct blockget_selected_block (CORE_ADDR *addr_in_block)
struct frame_info * find_relative_frame (struct frame_info *frame, int *level_offset_ptr)
void select_frame_command (char *level_exp, int from_tty)
void return_command (char *retval_exp, int from_tty)
enum language get_frame_language (void)
void _initialize_stack (void)

Variables

void(* deprecated_selected_frame_level_changed_hook )(int)
const char print_entry_values_no [] = "no"
const char print_entry_values_only [] = "only"
const char print_entry_values_preferred [] = "preferred"
const char print_entry_values_if_needed [] = "if-needed"
const char print_entry_values_both [] = "both"
const char print_entry_values_compact [] = "compact"
const char print_entry_values_default [] = "default"
const char * print_entry_values = print_entry_values_default
int annotation_level = 0

Function Documentation

void _initialize_stack ( void  )
void args_info ( char *  ignore,
int  from_tty 
)

Definition at line 2169 of file stack.c.

void clear_last_displayed_sal ( void  )

Definition at line 952 of file stack.c.

void find_frame_funname ( struct frame_info *  frame,
char **  funname,
enum language funlang,
struct symbol **  funcp 
)

Definition at line 1037 of file stack.c.

struct frame_info* find_relative_frame ( struct frame_info *  frame,
int level_offset_ptr 
) [read]

Definition at line 2220 of file stack.c.

enum language get_frame_language ( void  )

Definition at line 2542 of file stack.c.

Definition at line 984 of file stack.c.

Definition at line 1004 of file stack.c.

struct program_space* get_last_displayed_pspace ( void  ) [read]

Definition at line 974 of file stack.c.

void get_last_displayed_sal ( struct symtab_and_line sal)

Definition at line 1014 of file stack.c.

struct symtab* get_last_displayed_symtab ( void  ) [read]

Definition at line 994 of file stack.c.

struct block* get_selected_block ( CORE_ADDR addr_in_block) [read]

Definition at line 2202 of file stack.c.

void iterate_over_block_arg_vars ( struct block b,
iterate_over_block_arg_local_vars_cb  cb,
void *  cb_data 
)

Definition at line 2098 of file stack.c.

void iterate_over_block_local_vars ( struct block block,
iterate_over_block_arg_local_vars_cb  cb,
void *  cb_data 
)

Definition at line 1991 of file stack.c.

Definition at line 966 of file stack.c.

void locals_info ( char *  args,
int  from_tty 
)

Definition at line 2087 of file stack.c.

void print_frame_info ( struct frame_info *  frame,
int  print_level,
enum print_what print_what  ,
int  print_args,
int  set_current_sal 
)

Definition at line 785 of file stack.c.

void print_stack_frame ( struct frame_info *  frame,
int  print_level,
enum print_what print_what  ,
int  set_current_sal 
)

Definition at line 156 of file stack.c.

void read_frame_arg ( struct symbol sym,
struct frame_info *  frame,
struct frame_arg argp,
struct frame_arg entryargp 
)

Definition at line 332 of file stack.c.

void read_frame_local ( struct symbol sym,
struct frame_info *  frame,
struct frame_arg argp 
)

Definition at line 311 of file stack.c.

void return_command ( char *  retval_exp,
int  from_tty 
)

Definition at line 2352 of file stack.c.

void select_frame_command ( char *  level_exp,
int  from_tty 
)

Definition at line 2256 of file stack.c.

void set_current_sal_from_frame ( struct frame_info *  frame,
int  center 
)

Definition at line 718 of file stack.c.


Variable Documentation

Definition at line 114 of file stack.c.

Definition at line 58 of file stack.c.

Definition at line 91 of file stack.c.

const char print_entry_values_both[] = "both"

Definition at line 77 of file stack.c.

const char print_entry_values_compact[] = "compact"

Definition at line 78 of file stack.c.

const char print_entry_values_default[] = "default"

Definition at line 79 of file stack.c.

const char print_entry_values_if_needed[] = "if-needed"

Definition at line 76 of file stack.c.

Definition at line 73 of file stack.c.

const char print_entry_values_only[] = "only"

Definition at line 74 of file stack.c.

const char print_entry_values_preferred[] = "preferred"

Definition at line 75 of file stack.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines