| 564 | } |
| 565 | |
| 566 | void DisassembleWidget::updateDisassemblyFlavor() |
| 567 | { |
| 568 | auto* const session = currentSessionThatAcceptsCommands(); |
| 569 | if (!session) { |
| 570 | return; |
| 571 | } |
| 572 | |
| 573 | // Mark as up to date now rather than in the handler function so as to execute the MI command once. |
| 574 | m_disassemblyFlavorActionsUpToDate = true; |
| 575 | session->addCommandWithCurrentSessionHandler(GdbShow, QStringLiteral("disassembly-flavor"), this, |
| 576 | &DisassembleWidget::showDisassemblyFlavorHandler); |
| 577 | } |
| 578 | |
| 579 | void DisassembleWidget::showDisassemblyFlavorHandler(const ResultRecord& r) |
| 580 | { |
nothing calls this directly
no test coverage detected