| 195 | } |
| 196 | |
| 197 | void IRegisterController::setGeneralRegister(const Register& reg, const GroupsName& group) |
| 198 | { |
| 199 | if (!m_debugSession->acceptsCommands()) { |
| 200 | return; |
| 201 | } |
| 202 | |
| 203 | const QString command = QStringLiteral("set var $%1=%2").arg(reg.name, reg.value); |
| 204 | qCDebug(DEBUGGERCOMMON) << "Setting register: " << command; |
| 205 | |
| 206 | m_debugSession->addCommand(NonMI, command); |
| 207 | updateRegisters(group); |
| 208 | } |
| 209 | |
| 210 | IRegisterController::IRegisterController(MIDebugSession* debugSession, const QStringList& debuggerRegisterNames, |
| 211 | QObject* parent) |
nothing calls this directly
no test coverage detected