From 542c4ff2b4cfea049a498d827ea35a2600235e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 11 Dec 2017 20:36:48 +0100 Subject: Fix problem with no such file or directory Yep when object was instantiated it wasn't copying elf_path so now fixed (should also not forget to do the same with other options too). --- qtmips_machine/machineconfig.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qtmips_machine/machineconfig.cpp') diff --git a/qtmips_machine/machineconfig.cpp b/qtmips_machine/machineconfig.cpp index f23140f..7538765 100644 --- a/qtmips_machine/machineconfig.cpp +++ b/qtmips_machine/machineconfig.cpp @@ -8,6 +8,7 @@ MachineConfig::MachineConfig() { MachineConfig::MachineConfig(MachineConfig *cc) { pipeline = cc->pipelined(); jumppred = cc->jump_prediction(); + elf_path = cc->elf(); } void MachineConfig::set_pipelined(bool v) { -- cgit v1.2.3