diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-25 17:37:34 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-25 17:37:34 +0100 |
commit | 063da67766585bd1db5e8afd83e2f9eda88119c0 (patch) | |
tree | 928c2101adc3f7c317d9f86c13e2a2d1337806fb /qtmips_gui/mainwindow.cpp | |
parent | 215934254c3a80d8b30858f8c273a329c817a7f9 (diff) | |
download | qtmips-063da67766585bd1db5e8afd83e2f9eda88119c0.tar.gz qtmips-063da67766585bd1db5e8afd83e2f9eda88119c0.tar.bz2 qtmips-063da67766585bd1db5e8afd83e2f9eda88119c0.zip |
Jump to pc address when program counter is double clicked
Diffstat (limited to 'qtmips_gui/mainwindow.cpp')
-rw-r--r-- | qtmips_gui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp index 0f5d11a..21581d2 100644 --- a/qtmips_gui/mainwindow.cpp +++ b/qtmips_gui/mainwindow.cpp @@ -100,6 +100,7 @@ void MainWindow::create_core(const machine::MachineConfig &config) { connect(corescene, SIGNAL(request_registers()), this, SLOT(show_registers())); connect(corescene, SIGNAL(request_program_memory()), this, SLOT(show_program())); connect(corescene, SIGNAL(request_data_memory()), this, SLOT(show_memory())); + connect(corescene, SIGNAL(request_jump_to_program_counter(std::uint32_t)), program, SLOT(jump_to_pc(std::uint32_t))); // Setup docks registers->setup(machine); |