From b7c2d05a1a83dd91052ca6df20c2f60c802e773e Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Fri, 22 Feb 2019 22:05:19 +0100 Subject: Add support for goto to selected symbol address. Signed-off-by: Pavel Pisa --- qtmips_machine/qtmipsmachine.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qtmips_machine/qtmipsmachine.h') diff --git a/qtmips_machine/qtmipsmachine.h b/qtmips_machine/qtmipsmachine.h index b49cb2f..1c80b9c 100644 --- a/qtmips_machine/qtmipsmachine.h +++ b/qtmips_machine/qtmipsmachine.h @@ -49,13 +49,14 @@ #include #include #include +#include namespace machine { class QtMipsMachine : public QObject { Q_OBJECT public: - QtMipsMachine(const MachineConfig &cc); + QtMipsMachine(const MachineConfig &cc, bool load_symtab = false); ~QtMipsMachine(); const MachineConfig &config(); @@ -69,6 +70,7 @@ public: Cache *cache_data_rw(); SerialPort *serial_port(); PeripSpiLed *peripheral_spi_led(); + const SymbolTable *symbol_table(); const Core *core(); const CoreSingle *core_singe(); const CorePipelined *core_pipelined(); @@ -122,6 +124,7 @@ private: QTimer *run_t; unsigned int time_chunk; + SymbolTable *symtab; std::uint32_t program_end; enum Status stat; void set_status(enum Status st); -- cgit v1.2.3