MCPcopy Create free account
hub / github.com/KDE/kdevelop / updateDisassemblyFlavor

Method updateDisassemblyFlavor

plugins/debuggercommon/widgets/disassemblewidget.cpp:566–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564}
565
566void 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
579void DisassembleWidget::showDisassemblyFlavorHandler(const ResultRecord& r)
580{

Callers

nothing calls this directly

Tested by

no test coverage detected