GDB (xrefs)
|
#include "defs.h"
#include "python-internal.h"
#include "arch-utils.h"
#include "charset.h"
#include "language.h"
#include "mi/mi-cmds.h"
#include "mi/mi-parse.h"
#include "cli/cli-cmds.h"
#include <string>
Go to the source code of this file.
Classes | |
struct | micmdpy_object |
struct | mi_command_py |
Macros | |
#define | pymicmd_debug_printf(fmt, ...) debug_prefixed_printf_cond (pymicmd_debug, "py-micmd", fmt, ##__VA_ARGS__) |
#define | PYMICMD_SCOPED_DEBUG_ENTER_EXIT scoped_debug_enter_exit (pymicmd_debug, "py-micmd") |
Typedefs | |
using | mi_command_py_up = std::unique_ptr<mi_command_py> |
Variables | |
static bool | pymicmd_debug |
static PyObject * | invoke_cst |
static gdb_PyGetSetDef | micmdpy_object_getset [] |
PyTypeObject | micmdpy_object_type |
#define pymicmd_debug_printf | ( | fmt, | |
... ) debug_prefixed_printf_cond (pymicmd_debug, "py-micmd", fmt, ##__VA_ARGS__) |
Definition at line 47 of file py-micmd.c.
Referenced by mi_command_py::invoke(), mi_command_py::mi_command_py(), micmdpy_dealloc(), micmdpy_install_command(), micmdpy_uninstall_command(), and mi_command_py::~mi_command_py().
#define PYMICMD_SCOPED_DEBUG_ENTER_EXIT scoped_debug_enter_exit (pymicmd_debug, "py-micmd") |
Definition at line 52 of file py-micmd.c.
Referenced by mi_command_py::invoke(), micmdpy_dealloc(), micmdpy_init(), micmdpy_install_command(), and micmdpy_uninstall_command().
using mi_command_py_up = std::unique_ptr<mi_command_py> |
Definition at line 167 of file py-micmd.c.
void _initialize_py_micmd | ( | ) |
Definition at line 747 of file py-micmd.c.
Referenced by initialize_all_files().
|
static |
Definition at line 414 of file py-micmd.c.
Referenced by gdbpy_finalize_micommands(), and micmdpy_install_command().
|
extern |
|
static |
Definition at line 636 of file py-micmd.c.
References as_mi_command_py(), and remove_mi_cmd_entries().
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_micommands | , |
gdbpy_finalize_micommands | ) |
|
static |
Definition at line 615 of file py-micmd.c.
References gdb_module, gdb_pymodule_addobject(), invoke_cst, and micmdpy_object_type.
|
static |
Definition at line 586 of file py-micmd.c.
References micmdpy_object::mi_command, micmdpy_object::mi_command_name, pymicmd_debug_printf, PYMICMD_SCOPED_DEBUG_ENTER_EXIT, and xfree().
Definition at line 665 of file py-micmd.c.
References micmdpy_object::mi_command.
Definition at line 651 of file py-micmd.c.
References micmdpy_object::mi_command_name.
Definition at line 501 of file py-micmd.c.
References gdb_PyArg_ParseTupleAndKeywords(), micmdpy_object::mi_command, micmdpy_object::mi_command_name, micmdpy_install_command(), name, PYMICMD_SCOPED_DEBUG_ENTER_EXIT, and mi_command_py::validate_installation().
|
static |
Definition at line 454 of file py-micmd.c.
References as_mi_command_py(), insert_mi_cmd_entry(), mi_cmd_lookup(), micmdpy_object::mi_command, micmdpy_object::mi_command_name, pymicmd_debug_printf, PYMICMD_SCOPED_DEBUG_ENTER_EXIT, and mi_command_py::swap_python_object().
Referenced by micmdpy_init(), and micmdpy_set_installed().
Definition at line 681 of file py-micmd.c.
References micmdpy_object::mi_command, micmdpy_install_command(), and micmdpy_uninstall_command().
|
static |
Definition at line 424 of file py-micmd.c.
References micmdpy_object::mi_command, micmdpy_object::mi_command_name, mi_command::name(), pymicmd_debug_printf, PYMICMD_SCOPED_DEBUG_ENTER_EXIT, and remove_mi_cmd_entry().
Referenced by micmdpy_set_installed().
|
static |
Definition at line 185 of file py-micmd.c.
References gdbpy_error(), gdbpy_handle_exception(), name, and python_string_to_target_string().
Referenced by serialize_mi_result(), and serialize_mi_result_1().
|
static |
Definition at line 331 of file py-micmd.c.
References gdbpy_error(), py_object_to_mi_key(), serialize_mi_result_1(), and value.
Referenced by mi_command_py::invoke().
|
static |
Definition at line 248 of file py-micmd.c.
References current_uiout, field_name(), ui_out::field_signed(), ui_out::field_string(), gdb_py_long_as_long_and_overflow, gdbpy_handle_exception(), gdbpy_obj_to_string(), get(), py_object_to_mi_key(), serialize_mi_result_1(), and value.
Referenced by serialize_mi_result(), and serialize_mi_result_1().
|
static |
Definition at line 39 of file py-micmd.c.
References gdb_printf().
|
static |
Definition at line 174 of file py-micmd.c.
Referenced by gdbpy_initialize_micommands(), and mi_command_py::invoke().
|
static |
Definition at line 697 of file py-micmd.c.
PyTypeObject micmdpy_object_type |
Definition at line 706 of file py-micmd.c.
Referenced by gdbpy_initialize_micommands().
|
static |
Definition at line 34 of file py-micmd.c.