diff options
Diffstat (limited to 'riscv/execute.cc')
-rw-r--r-- | riscv/execute.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc index 7313c51..9a91ce6 100644 --- a/riscv/execute.cc +++ b/riscv/execute.cc @@ -76,8 +76,7 @@ static void commit_log_print_insn(processor_t *p, reg_t pc, insn_t insn) int flen = p->get_state()->last_inst_flen; // print core id on all lines so it is easy to grep - uint64_t id = p->get_csr(CSR_MHARTID); - fprintf(log_file, "core%4" PRId64 ": ", id); + fprintf(log_file, "core%4" PRId64 ": ", p->get_id()); fprintf(log_file, "%1d ", priv); commit_log_print_value(log_file, xlen, pc); |