GDB (xrefs)
|
#include "mi-cmds.h"
Public Member Functions | |
mi_command (const char *name, int *suppress_notification) | |
virtual | ~mi_command ()=default |
const char * | name () const |
virtual void | invoke (struct mi_parse *parse) const =0 |
bool | preserve_user_selected_context () const |
gdb::optional< scoped_restore_tmpl< int > > | do_suppress_notification () const |
Private Attributes | |
const char * | m_name |
int * | m_suppress_notification |
mi_command::mi_command | ( | const char * | name, |
int * | suppress_notification ) |
Definition at line 177 of file mi-cmds.c.
References m_name.
Referenced by mi_command_py::swap_python_object().
|
virtualdefault |
gdb::optional< scoped_restore_tmpl< int > > mi_command::do_suppress_notification | ( | ) | const |
Definition at line 187 of file mi-cmds.c.
References m_suppress_notification.
Referenced by mi_cmd_execute().
|
pure virtual |
Implemented in mi_command_mi, mi_command_cli, and mi_command_py.
Referenced by mi_cmd_execute().
|
inline |
Definition at line 162 of file mi-cmds.h.
References m_name.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.dap.varref.BaseReference::__init__(), gdb.disassembler.Disassembler::__init__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.types.TypePrinter::__init__(), gdb.xmethod.XMethod::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.printing.PrettyPrinter::__init__(), mi_command_py::invoke(), micmdpy_uninstall_command(), gdb.dap.varref.BaseReference::to_object(), and mi_command_py::validate_installation().
|
inline |
Definition at line 172 of file mi-cmds.h.
References m_suppress_notification, and mi_suppress_notification::user_selected_context.
Referenced by mi_cmd_execute().
|
private |
Definition at line 193 of file mi-cmds.h.
Referenced by mi_command(), and name().
|
private |
Definition at line 196 of file mi-cmds.h.
Referenced by do_suppress_notification(), and preserve_user_selected_context().