Classes |
struct | breakpoint_object |
struct | thread_object |
Defines |
#define | CPYCHECKER_RETURNS_BORROWED_REF |
#define | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF(ARG) |
#define | CPYCHECKER_STEALS_REFERENCE_TO_ARG(n) |
#define | CPYCHECKER_SETS_EXCEPTION |
#define | CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
#define | PY_SSIZE_T_CLEAN |
#define | PyGILState_Ensure() ((PyGILState_STATE) 0) |
#define | PyGILState_Release(ARG) ((void)(ARG)) |
#define | PyEval_InitThreads() |
#define | PyThreadState_Swap(ARG) ((void)(ARG)) |
#define | PyEval_ReleaseLock() |
#define | GDB_PY_LL_ARG "L" |
#define | GDB_PY_LLU_ARG "K" |
#define | gdb_py_long_from_longest PyLong_FromLong |
#define | gdb_py_long_from_ulongest PyLong_FromUnsignedLong |
#define | gdb_py_long_as_ulongest PyLong_AsUnsignedLong |
#define | Py_DECREF(op) gdb_Py_DECREF (op) |
#define | BPPY_REQUIRE_VALID(Breakpoint) |
#define | BPPY_SET_REQUIRE_VALID(Breakpoint) |
#define | GDB_PY_HANDLE_EXCEPTION(Exception) |
#define | GDB_PY_SET_HANDLE_EXCEPTION(Exception) |
Typedefs |
typedef long | gdb_py_longest |
typedef unsigned long | gdb_py_ulongest |
typedef struct breakpoint_object | breakpoint_object |
Enumerations |
enum | gdbpy_iter_kind { iter_keys,
iter_values,
iter_items
} |
Functions |
PyTypeObject value_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("value_object") |
PyTypeObject block_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("block_object") |
PyTypeObject symbol_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("symbol_object") |
PyTypeObject event_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("event_object") |
PyTypeObject breakpoint_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("breakpoint_object") |
PyTypeObject frame_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("frame_object") |
PyObject * | gdbpy_history (PyObject *self, PyObject *args) |
PyObject * | gdbpy_breakpoints (PyObject *, PyObject *) |
PyObject * | gdbpy_frame_stop_reason_string (PyObject *, PyObject *) |
PyObject * | gdbpy_lookup_symbol (PyObject *self, PyObject *args, PyObject *kw) |
PyObject * | gdbpy_lookup_global_symbol (PyObject *self, PyObject *args, PyObject *kw) |
PyObject * | gdbpy_newest_frame (PyObject *self, PyObject *args) |
PyObject * | gdbpy_selected_frame (PyObject *self, PyObject *args) |
PyObject * | gdbpy_block_for_pc (PyObject *self, PyObject *args) |
PyObject * | gdbpy_lookup_type (PyObject *self, PyObject *args, PyObject *kw) |
PyObject * | gdbpy_create_lazy_string_object (CORE_ADDR address, long length, const char *encoding, struct type *type) |
PyObject * | gdbpy_inferiors (PyObject *unused, PyObject *unused2) |
PyObject * | gdbpy_selected_thread (PyObject *self, PyObject *args) |
PyObject * | gdbpy_selected_inferior (PyObject *self, PyObject *args) |
PyObject * | gdbpy_string_to_argv (PyObject *self, PyObject *args) |
PyObject * | gdbpy_parameter (PyObject *self, PyObject *args) |
PyObject * | gdbpy_parameter_value (enum var_types type, void *var) |
char * | gdbpy_parse_command_name (const char *name, struct cmd_list_element ***base_list, struct cmd_list_element **start_list) |
PyObject * | symtab_and_line_to_sal_object (struct symtab_and_line sal) |
PyObject * | symtab_to_symtab_object (struct symtab *symtab) |
PyObject * | symbol_to_symbol_object (struct symbol *sym) |
PyObject * | block_to_block_object (const struct block *block, struct objfile *objfile) |
PyObject * | value_to_value_object (struct value *v) |
PyObject * | type_to_type_object (struct type *) |
PyObject * | frame_info_to_frame_object (struct frame_info *frame) |
PyObject * | pspace_to_pspace_object (struct program_space *) CPYCHECKER_RETURNS_BORROWED_REF |
PyObject * | pspy_get_printers (PyObject *, void *) |
PyObject * | pspy_get_frame_filters (PyObject *, void *) |
PyObject * | objfile_to_objfile_object (struct objfile *) CPYCHECKER_RETURNS_BORROWED_REF |
PyObject * | objfpy_get_printers (PyObject *, void *) |
PyObject * | objfpy_get_frame_filters (PyObject *, void *) |
PyObject * | gdbarch_to_arch_object (struct gdbarch *gdbarch) |
thread_object * | create_thread_object (struct thread_info *tp) |
thread_object * | find_thread_object (ptid_t ptid) CPYCHECKER_RETURNS_BORROWED_REF |
PyObject * | find_inferior_object (int pid) |
PyObject * | inferior_to_inferior_object (struct inferior *inferior) |
struct block * | block_object_to_block (PyObject *obj) |
struct symbol * | symbol_object_to_symbol (PyObject *obj) |
struct value * | value_object_to_value (PyObject *self) |
struct value * | convert_value_from_python (PyObject *obj) |
struct type * | type_object_to_type (PyObject *obj) |
struct symtab * | symtab_object_to_symtab (PyObject *obj) |
struct symtab_and_line * | sal_object_to_symtab_and_line (PyObject *obj) |
struct frame_info * | frame_object_to_frame_info (PyObject *frame_obj) |
struct gdbarch * | arch_object_to_gdbarch (PyObject *obj) |
void | gdbpy_initialize_gdb_readline (void) |
int | gdbpy_initialize_auto_load (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_values (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_frames (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_symtabs (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_commands (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_symbols (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_blocks (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_types (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_functions (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_pspace (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_objfile (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_breakpoints (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_finishbreakpoints (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_lazy_string (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_parameters (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_thread (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_inferior (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_eventregistry (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_py_events (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_stop_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_signal_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_breakpoint_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_continue_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_exited_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_thread_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_new_objfile_event (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
int | gdbpy_initialize_arch (void) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
struct cleanup * | make_cleanup_py_decref (PyObject *py) |
struct cleanup * | make_cleanup_py_xdecref (PyObject *py) |
struct cleanup * | ensure_python_env (struct gdbarch *gdbarch, const struct language_defn *language) |
void | gdbpy_print_stack (void) |
void | source_python_script_for_objfile (struct objfile *objfile, FILE *file, const char *filename) |
PyObject * | python_string_to_unicode (PyObject *obj) |
char * | unicode_to_target_string (PyObject *unicode_str) |
char * | python_string_to_target_string (PyObject *obj) |
PyObject * | python_string_to_target_python_string (PyObject *obj) |
char * | python_string_to_host_string (PyObject *obj) |
int | gdbpy_is_string (PyObject *obj) |
char * | gdbpy_obj_to_string (PyObject *obj) |
char * | gdbpy_exception_to_string (PyObject *ptype, PyObject *pvalue) |
int | gdbpy_is_lazy_string (PyObject *result) |
void | gdbpy_extract_lazy_string (PyObject *string, CORE_ADDR *addr, struct type **str_type, long *length, char **encoding) |
int | gdbpy_is_value_object (PyObject *obj) |
PyObject * | apply_varobj_pretty_printer (PyObject *print_obj, struct value **replacement, struct ui_file *stream) |
PyObject * | gdbpy_get_varobj_pretty_printer (struct value *value) |
char * | gdbpy_get_display_hint (PyObject *printer) |
PyObject * | gdbpy_default_visualizer (PyObject *self, PyObject *args) |
void | bpfinishpy_pre_stop_hook (struct breakpoint_object *bp_obj) |
void | bpfinishpy_post_stop_hook (struct breakpoint_object *bp_obj) |
void | gdbpy_convert_exception (struct gdb_exception) CPYCHECKER_SETS_EXCEPTION |
int | get_addr_from_python (PyObject *obj, CORE_ADDR *addr) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
PyObject * | gdb_py_object_from_longest (LONGEST l) |
PyObject * | gdb_py_object_from_ulongest (ULONGEST l) |
int | gdb_py_int_as_long (PyObject *, long *) |
PyObject * | gdb_py_generic_dict (PyObject *self, void *closure) |
int | gdb_pymodule_addobject (PyObject *module, const char *name, PyObject *object) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION |
Variables |
int | gdb_python_initialized |
PyObject * | gdb_module |
PyObject * | gdb_python_module |
breakpoint_object * | bppy_pending_object |
struct cmd_list_element * | set_python_list |
struct cmd_list_element * | show_python_list |
struct gdbarch * | python_gdbarch |
struct language_defn * | python_language |
PyObject * | gdbpy_doc_cst |
PyObject * | gdbpy_children_cst |
PyObject * | gdbpy_to_string_cst |
PyObject * | gdbpy_display_hint_cst |
PyObject * | gdbpy_enabled_cst |
PyObject * | gdbpy_value_cst |
PyObject * | gdbpy_gdb_error |
PyObject * | gdbpy_gdb_memory_error |
PyObject * | gdbpy_gdberror_exc |