diff options
Diffstat (limited to 'target-cris/op_helper.c')
-rw-r--r-- | target-cris/op_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c index c55ce86..2e280f3 100644 --- a/target-cris/op_helper.c +++ b/target-cris/op_helper.c @@ -30,7 +30,7 @@ #ifdef CRIS_OP_HELPER_DEBUG #define D(x) x -#define D_LOG(...) fprintf(logfile, ## __VA_ARGS__) +#define D_LOG(...) qemu_log(__VA__ARGS__) #else #define D(x) #define D_LOG(...) do { } while (0) @@ -117,7 +117,7 @@ void helper_spc_write(uint32_t new_spc) void helper_dump(uint32_t a0, uint32_t a1, uint32_t a2) { - (fprintf(logfile, "%s: a0=%x a1=%x\n", __func__, a0, a1)); + qemu_log("%s: a0=%x a1=%x\n", __func__, a0, a1); } /* Used by the tlb decoder. */ |