GDB (API)
Defines | Typedefs | Enumerations | Functions
/home/stan/gdb/src/gdb/python/python.h File Reference
#include "value.h"
#include "mi/mi-cmds.h"

Go to the source code of this file.

Defines

#define GDBPY_AUTO_FILE_NAME   "-gdb.py"

Typedefs

typedef enum py_frame_args py_frame_args

Enumerations

enum  py_bt_status { PY_BT_ERROR = -1, PY_BT_OK = 1, PY_BT_COMPLETED = 2, PY_BT_NO_FILTERS = 3 }
enum  frame_filter_flags { PRINT_LEVEL = 1, PRINT_FRAME_INFO = 2, PRINT_ARGS = 4, PRINT_LOCALS = 8 }
enum  py_frame_args {
  NO_VALUES = PRINT_NO_VALUES, MI_PRINT_ALL_VALUES = PRINT_ALL_VALUES, MI_PRINT_SIMPLE_VALUES = PRINT_SIMPLE_VALUES, CLI_SCALAR_VALUES,
  CLI_ALL_VALUES
}

Functions

void finish_python_initialization (void)
void eval_python_from_control_command (struct command_line *)
void source_python_script (FILE *file, const char *filename)
int apply_val_pretty_printer (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, const struct language_defn *language)
enum py_bt_status apply_frame_filter (struct frame_info *frame, int flags, enum py_frame_args args_type, struct ui_out *out, int frame_low, int frame_high)
void preserve_python_values (struct objfile *objfile, htab_t copied_types)
void gdbpy_load_auto_scripts_for_objfile (struct objfile *objfile)
int gdbpy_should_stop (struct breakpoint_object *bp_obj)
int gdbpy_breakpoint_has_py_cond (struct breakpoint_object *bp_obj)
void * start_type_printers (void)
char * apply_type_printers (void *, struct type *type)
void free_type_printers (void *arg)

Define Documentation

#define GDBPY_AUTO_FILE_NAME   "-gdb.py"

Definition at line 30 of file python.h.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
PRINT_LEVEL 
PRINT_FRAME_INFO 
PRINT_ARGS 
PRINT_LOCALS 

Definition at line 54 of file python.h.

Enumerator:
PY_BT_ERROR 
PY_BT_OK 
PY_BT_COMPLETED 
PY_BT_NO_FILTERS 

Definition at line 33 of file python.h.

Enumerator:
NO_VALUES 
MI_PRINT_ALL_VALUES 
MI_PRINT_SIMPLE_VALUES 
CLI_SCALAR_VALUES 
CLI_ALL_VALUES 

Definition at line 71 of file python.h.


Function Documentation

enum py_bt_status apply_frame_filter ( struct frame_info *  frame,
int  flags,
enum py_frame_args  args_type,
struct ui_out *  out,
int  frame_low,
int  frame_high 
)

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

char* apply_type_printers ( void *  ,
struct type type 
)

Definition at line 1420 of file python.c.

int apply_val_pretty_printer ( struct type type,
const gdb_byte valaddr,
int  embedded_offset,
CORE_ADDR  address,
struct ui_file *  stream,
int  recurse,
const struct value *  val,
const struct value_print_options options,
const struct language_defn language 
)

Definition at line 845 of file py-prettyprint.c.

Definition at line 1385 of file python.c.

void free_type_printers ( void *  arg)

Definition at line 1426 of file python.c.

Definition at line 773 of file py-breakpoint.c.

void gdbpy_load_auto_scripts_for_objfile ( struct objfile objfile)

Definition at line 291 of file py-auto-load.c.

int gdbpy_should_stop ( struct breakpoint_object bp_obj)

Definition at line 726 of file py-breakpoint.c.

void preserve_python_values ( struct objfile objfile,
htab_t  copied_types 
)

Definition at line 1548 of file py-value.c.

void source_python_script ( FILE *  file,
const char *  filename 
)

Definition at line 1391 of file python.c.

void* start_type_printers ( void  )

Definition at line 1414 of file python.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines