aboutsummaryrefslogtreecommitdiff
path: root/qtmips_cli/tracer.h
blob: d5a476bca5ad233418e7d7f74ba588b93fc9a7f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef TRACER_H
#define TRACER_H

#include <QObject>
#include "qtmipsmachine.h"

class Tracer : public QObject {
    Q_OBJECT
public:
    Tracer(machine::QtMipsMachine *machine);

    // Trace registers
    void reg_pc();

private slots:
    void regs_pc_update(std::uint32_t val);

private:
    machine::QtMipsMachine *machine;
};

#endif // TRACER_H