Lines Matching defs:mi_command
65 struct mi_command_py *mi_command;
74 When the MI_COMMAND field is not nullptr, then the mi_command_py
81 struct mi_command_py : public mi_command
89 : mi_command (name, nullptr),
93 m_pyobj->mi_command = this;
107 m_pyobj->mi_command = nullptr;
132 gdb_assert (m_pyobj->mi_command != nullptr);
133 gdb_assert (new_pyobj->mi_command == nullptr);
136 std::swap (new_pyobj->mi_command, m_pyobj->mi_command);
142 /* mi_command::m_name is the string owned by the current object. */
145 /* The name in mi_command::m_name is owned by the current object. Rather
146 than changing the value of mi_command::m_name (which is not accessible
232 mi_command_py *cmd = cmd_obj->mi_command;
237 mi_command *mi_cmd = mi_cmd_lookup (name);
246 as_mi_command_py (mi_command *cmd)
260 gdb_assert (obj->mi_command != nullptr);
268 bool removed = remove_mi_cmd_entry (obj->mi_command->name ());
270 gdb_assert (obj->mi_command == nullptr);
290 gdb_assert (obj->mi_command == nullptr);
297 mi_command *cmd = mi_cmd_lookup (obj->mi_command_name);
402 if (cmd->mi_command != nullptr)
434 gdb_assert (cmd->mi_command == nullptr);
473 remove_mi_cmd_entries ([] (mi_command *cmd)
501 if (micmd_obj->mi_command
518 if (installed_p == (micmd_obj->mi_command != nullptr))