| 766 | } |
| 767 | |
| 768 | void MIDebugSession::jumpToMemoryAddress(const QString& address) |
| 769 | { |
| 770 | if (debuggerStateIsOn(s_dbgNotStarted|s_shuttingDown)) |
| 771 | return; |
| 772 | |
| 773 | if (!address.isEmpty()) { |
| 774 | addCommand(NonMI, QStringLiteral("tbreak *%1").arg(address)); |
| 775 | addCommand(NonMI, QStringLiteral("jump *%1").arg(address)); |
| 776 | } |
| 777 | } |
| 778 | |
| 779 | void MIDebugSession::addUserCommand(const QString& cmd) |
| 780 | { |