aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-27 22:33:34 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-27 22:33:34 +0100
commit3758632917987c842edf57d855de9b515754a5f9 (patch)
tree547cd039305eef9c89f605181b8e523df667dabc
parent675725cd3fb6ffeaaf1dad0c81fd01b582ab3be0 (diff)
downloadqtmips-3758632917987c842edf57d855de9b515754a5f9.tar.gz
qtmips-3758632917987c842edf57d855de9b515754a5f9.tar.bz2
qtmips-3758632917987c842edf57d855de9b515754a5f9.zip
qtmips_cli: start report in decimal mode.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
-rw-r--r--qtmips_cli/reporter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_cli/reporter.cpp b/qtmips_cli/reporter.cpp
index 4f9a8cb..74cbdc1 100644
--- a/qtmips_cli/reporter.cpp
+++ b/qtmips_cli/reporter.cpp
@@ -150,6 +150,7 @@ static void out_hex(ostream &out, std::uint64_t val, int digits) {
}
void Reporter::report() {
+ cout << dec;
if (e_regs) {
cout << "Machine state report:" << endl;
cout << "PC:0x";