diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-13 13:43:35 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-17 17:33:48 +0100 |
commit | c30f0d182f82d51ca5de79814860e5942e257b59 (patch) | |
tree | 35a5cf83a6cd822bd66063f334498d3c636de294 /target-xtensa/gdbstub.c | |
parent | b81b971c7a87261f23359529cdd9d86fac57633f (diff) |
xtensa: avoid "naked" qemu_log
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-xtensa/gdbstub.c')
-rw-r--r-- | target-xtensa/gdbstub.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target-xtensa/gdbstub.c b/target-xtensa/gdbstub.c index bc2e1b55f6..dcf05ad88c 100644 --- a/target-xtensa/gdbstub.c +++ b/target-xtensa/gdbstub.c @@ -63,8 +63,8 @@ int xtensa_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n) return gdb_get_reg32(mem_buf, env->regs[reg->targno & 0x0f]); default: - qemu_log("%s from reg %d of unsupported type %d\n", - __func__, n, reg->type); + qemu_log_mask(LOG_UNIMP, "%s from reg %d of unsupported type %d\n", + __func__, n, reg->type); return 0; } } @@ -117,8 +117,8 @@ int xtensa_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) break; default: - qemu_log("%s to reg %d of unsupported type %d\n", - __func__, n, reg->type); + qemu_log_mask(LOG_UNIMP, "%s to reg %d of unsupported type %d\n", + __func__, n, reg->type); return 0; } |