GDB (xrefs)
Enumerations | Functions
py-framefilter.c File Reference
#include "defs.h"
#include "objfiles.h"
#include "symtab.h"
#include "language.h"
#include "arch-utils.h"
#include "python.h"
#include "ui-out.h"
#include "valprint.h"
#include "annotate.h"
#include "hashtab.h"
#include "demangle.h"
#include "mi/mi-cmds.h"
#include "python-internal.h"

Go to the source code of this file.

Enumerations

enum  mi_print_types { MI_PRINT_ARGS, MI_PRINT_LOCALS }
 

Functions

static enum ext_lang_bt_status extract_sym (PyObject *obj, char **name, struct symbol **sym, const struct language_defn **language)
 
static enum ext_lang_bt_status extract_value (PyObject *obj, struct value **value)
 
static int mi_should_print (struct symbol *sym, enum mi_print_types type)
 
static enum ext_lang_bt_status py_print_type (struct ui_out *out, struct value *val)
 
static enum ext_lang_bt_status py_print_value (struct ui_out *out, struct value *val, const struct value_print_options *opts, int indent, enum ext_lang_frame_args args_type, const struct language_defn *language)
 
static PyObject * get_py_iter_from_func (PyObject *filter, char *func)
 
static enum ext_lang_bt_status py_print_single_arg (struct ui_out *out, const char *sym_name, struct frame_arg *fa, struct value *fv, const struct value_print_options *opts, enum ext_lang_frame_args args_type, int print_args_field, const struct language_defn *language)
 
static enum ext_lang_bt_status enumerate_args (PyObject *iter, struct ui_out *out, enum ext_lang_frame_args args_type, int print_args_field, struct frame_info *frame)
 
static enum ext_lang_bt_status enumerate_locals (PyObject *iter, struct ui_out *out, int indent, enum ext_lang_frame_args args_type, int print_args_field, struct frame_info *frame)
 
static enum ext_lang_bt_status py_mi_print_variables (PyObject *filter, struct ui_out *out, struct value_print_options *opts, enum ext_lang_frame_args args_type, struct frame_info *frame)
 
static enum ext_lang_bt_status py_print_locals (PyObject *filter, struct ui_out *out, enum ext_lang_frame_args args_type, int indent, struct frame_info *frame)
 
static enum ext_lang_bt_status py_print_args (PyObject *filter, struct ui_out *out, enum ext_lang_frame_args args_type, struct frame_info *frame)
 
static enum ext_lang_bt_status py_print_frame (PyObject *filter, int flags, enum ext_lang_frame_args args_type, struct ui_out *out, int indent, htab_t levels_printed)
 
static PyObject * bootstrap_python_frame_filters (struct frame_info *frame, int frame_low, int frame_high)
 
enum ext_lang_bt_status gdbpy_apply_frame_filter (const struct extension_language_defn *extlang, struct frame_info *frame, int flags, enum ext_lang_frame_args args_type, struct ui_out *out, int frame_low, int frame_high)
 

Enumeration Type Documentation

Enumerator
MI_PRINT_ARGS 
MI_PRINT_LOCALS 

Definition at line 34 of file py-framefilter.c.

Function Documentation

static PyObject* bootstrap_python_frame_filters ( struct frame_info frame,
int  frame_low,
int  frame_high 
)
static
static enum ext_lang_bt_status enumerate_args ( PyObject *  iter,
struct ui_out out,
enum ext_lang_frame_args  args_type,
int  print_args_field,
struct frame_info frame 
)
static
static enum ext_lang_bt_status enumerate_locals ( PyObject *  iter,
struct ui_out out,
int  indent,
enum ext_lang_frame_args  args_type,
int  print_args_field,
struct frame_info frame 
)
static
static enum ext_lang_bt_status extract_sym ( PyObject *  obj,
char **  name,
struct symbol **  sym,
const struct language_defn **  language 
)
static
static enum ext_lang_bt_status extract_value ( PyObject *  obj,
struct value **  value 
)
static
enum ext_lang_bt_status gdbpy_apply_frame_filter ( const struct extension_language_defn extlang,
struct frame_info frame,
int  flags,
enum ext_lang_frame_args  args_type,
struct ui_out out,
int  frame_low,
int  frame_high 
)
static PyObject* get_py_iter_from_func ( PyObject *  filter,
char *  func 
)
static
static int mi_should_print ( struct symbol sym,
enum mi_print_types  type 
)
static
static enum ext_lang_bt_status py_mi_print_variables ( PyObject *  filter,
struct ui_out out,
struct value_print_options opts,
enum ext_lang_frame_args  args_type,
struct frame_info frame 
)
static
static enum ext_lang_bt_status py_print_args ( PyObject *  filter,
struct ui_out out,
enum ext_lang_frame_args  args_type,
struct frame_info frame 
)
static
static enum ext_lang_bt_status py_print_frame ( PyObject *  filter,
int  flags,
enum ext_lang_frame_args  args_type,
struct ui_out out,
int  indent,
htab_t  levels_printed 
)
static
static enum ext_lang_bt_status py_print_locals ( PyObject *  filter,
struct ui_out out,
enum ext_lang_frame_args  args_type,
int  indent,
struct frame_info frame 
)
static
static enum ext_lang_bt_status py_print_single_arg ( struct ui_out out,
const char *  sym_name,
struct frame_arg fa,
struct value fv,
const struct value_print_options opts,
enum ext_lang_frame_args  args_type,
int  print_args_field,
const struct language_defn language 
)
static
static enum ext_lang_bt_status py_print_type ( struct ui_out out,
struct value val 
)
static
static enum ext_lang_bt_status py_print_value ( struct ui_out out,
struct value val,
const struct value_print_options opts,
int  indent,
enum ext_lang_frame_args  args_type,
const struct language_defn language 
)
static