An upcoming patch will let the compiler warn us when we are silently losing precision in traces; update the trace definitions to pass through the full value at the callsite.
Signed-off-by: Eric Blake <ebl...@redhat.com> --- hw/isa/trace-events | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/isa/trace-events b/hw/isa/trace-events index 9faca41..58179ef 100644 --- a/hw/isa/trace-events +++ b/hw/isa/trace-events @@ -1,8 +1,8 @@ # See docs/tracing.txt for syntax documentation. # hw/isa/pc87312.c -pc87312_io_read(uint32_t addr, uint32_t val) "read addr=%x val=%x" -pc87312_io_write(uint32_t addr, uint32_t val) "write addr=%x val=%x" +pc87312_io_read(hwaddr addr, uint32_t val) "read addr=%" HWADDR_PRIx " val=%x" +pc87312_io_write(hwaddr addr, uint64_t val) "write addr=%" HWADDR_PRIx " val=%" PRIx64 pc87312_info_floppy(uint32_t base) "base 0x%x" pc87312_info_ide(uint32_t base) "base 0x%x" pc87312_info_parallel(uint32_t base, uint32_t irq) "base 0x%x, irq %u" -- 2.9.3