From bb7092e96401e4c89c44773c932788c9b0f87b53 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 11 Feb 2019 18:40:40 +0100 Subject: Basic "hardware" breakpoints support implemented. It works like real inserted breakpoint on hardware. Breakpoint has to be removed to allow code continue because else instruction is refetch and breakpoint triggers again. The single step function should resolve temporal masking of the breakpoint. Signed-off-by: Pavel Pisa --- qtmips_gui/programmodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qtmips_gui/programmodel.h') diff --git a/qtmips_gui/programmodel.h b/qtmips_gui/programmodel.h index 4a17e99..a6db493 100644 --- a/qtmips_gui/programmodel.h +++ b/qtmips_gui/programmodel.h @@ -85,6 +85,7 @@ public: public slots: void setup(machine::QtMipsMachine *machine); void check_for_updates(); + void toggle_hw_break(const QModelIndex & index); private: std::uint32_t index0_offset; -- cgit v1.2.3