aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-14 11:18:09 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-14 11:18:09 +0200
commit69aaf6837c9a1da2fea8961159d574023f0c7a6d (patch)
tree94a34d31026c6740932652a7435b8ea4b07d6bce /qtmips_gui
parent204551e69cdf3a29b3a0b36a9759841f0d7df500 (diff)
downloadqtmips-69aaf6837c9a1da2fea8961159d574023f0c7a6d.tar.gz
qtmips-69aaf6837c9a1da2fea8961159d574023f0c7a6d.tar.bz2
qtmips-69aaf6837c9a1da2fea8961159d574023f0c7a6d.zip
Disable program follow
This should be easy enought to program but it requires some deeper changes to memoryview it self (to allows direct address to item mapping). Because of that I am disabling it for now and I will return to this feature in future. For now I am focusing on other more important aspects of qtmips (to make it feature complete not nice to use).
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/programdock.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qtmips_gui/programdock.cpp b/qtmips_gui/programdock.cpp
index 974e5ad..de24910 100644
--- a/qtmips_gui/programdock.cpp
+++ b/qtmips_gui/programdock.cpp
@@ -2,6 +2,7 @@
#include "qtmipsexception.h"
ProgramView::ProgramView(QWidget *parent) : MemoryView(parent) {
+ /*
cb_single = new QComboBox(this);
cb_single->addItems({
"Don't follow",
@@ -25,6 +26,7 @@ ProgramView::ProgramView(QWidget *parent) : MemoryView(parent) {
cb_pipelined->setCurrentIndex(1);
layout->addWidget(cb_pipelined);
connect(cb_pipelined, SIGNAL(currentIndexChanged(int)), this, SLOT(cb_pipelined_changed(int)));
+ */
}
void ProgramView::setup(machine::QtMipsMachine *machine) {
@@ -32,6 +34,7 @@ void ProgramView::setup(machine::QtMipsMachine *machine) {
if (machine == nullptr)
return;
+ /*
bool pipelined = machine->config().pipelined();
cb_single->setVisible(!pipelined);
cb_pipelined->setVisible(pipelined);
@@ -43,6 +46,8 @@ void ProgramView::setup(machine::QtMipsMachine *machine) {
cb_pipelined->setCurrentIndex(1);
} else
cb_single->setCurrentIndex(cb_pipelined->currentIndex() == 0 ? 0 : 1);
+ // TODO connect to instructuion hooks
+ */
}
void ProgramView::jump_to_pc(std::uint32_t addr) {