diff options
Diffstat (limited to 'qtmips_cli/main.cpp')
-rw-r--r-- | qtmips_cli/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_cli/main.cpp b/qtmips_cli/main.cpp index 2260ea5..4fd6ce5 100644 --- a/qtmips_cli/main.cpp +++ b/qtmips_cli/main.cpp @@ -39,7 +39,8 @@ void configure_machine(QCommandLineParser &p, MachineConfig &cc) { } void configure_tracer(QCommandLineParser &p, Tracer &tr) { - // TODO trace fetched instruction + if (p.isSet("trace-fetch")) + tr.fetch(); if (p.isSet("trace-pc")) tr.reg_pc(); |