GDB (xrefs)
|
Public Member Functions | |
mi_command_py (const char *name, micmdpy_object *object) | |
~mi_command_py () | |
void | swap_python_object (micmdpy_object *new_pyobj) |
virtual void | invoke (struct mi_parse *parse) const override |
![]() | |
mi_command (const char *name, int *suppress_notification) | |
virtual | ~mi_command ()=default |
const char * | name () const |
bool | preserve_user_selected_context () const |
gdb::optional< scoped_restore_tmpl< int > > | do_suppress_notification () const |
Static Public Member Functions | |
static void | validate_installation (micmdpy_object *cmd_obj) |
Private Attributes | |
gdbpy_ref< micmdpy_object > | m_pyobj |
Definition at line 82 of file py-micmd.c.
|
inline |
Definition at line 89 of file py-micmd.c.
References m_pyobj, and pymicmd_debug_printf.
|
inline |
Definition at line 97 of file py-micmd.c.
References m_pyobj, and pymicmd_debug_printf.
|
overridevirtual |
Implements mi_command.
Definition at line 352 of file py-micmd.c.
References mi_parse::argc, mi_parse::args(), mi_parse::argv, mi_parse::command, gdbpy_handle_exception(), host_charset(), invoke_cst, m_pyobj, mi_command::name(), mi_parse::parse_argv(), pymicmd_debug_printf, PYMICMD_SCOPED_DEBUG_ENTER_EXIT, and serialize_mi_result().
|
inline |
Definition at line 130 of file py-micmd.c.
References m_pyobj, mi_command::mi_command(), micmdpy_object::mi_command, and micmdpy_object::mi_command_name.
Referenced by micmdpy_install_command().
|
static |
Definition at line 397 of file py-micmd.c.
References m_pyobj, mi_cmd_lookup(), micmdpy_object::mi_command, micmdpy_object::mi_command_name, and mi_command::name().
Referenced by micmdpy_init().
|
private |
Definition at line 164 of file py-micmd.c.
Referenced by invoke(), mi_command_py(), swap_python_object(), validate_installation(), and ~mi_command_py().