From d1319b83e5ea69f53d21b6a49a5ce154189ca727 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 10 Jan 2016 18:07:08 +0000 Subject: [PATCH] runtime: properly format addresses in InternalError message. --- artiq/runtime/ksupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/runtime/ksupport.c b/artiq/runtime/ksupport.c index b35033ee8..f9688d781 100644 --- a/artiq/runtime/ksupport.c +++ b/artiq/runtime/ksupport.c @@ -225,7 +225,7 @@ void exception_handler(unsigned long vect, unsigned long *regs, unsigned long pc, unsigned long ea) { artiq_raise_from_c("InternalError", - "Hardware exception {0} at PC {1}, EA {2}", + "Hardware exception {0} at PC 0x{1:08x}, EA 0x{2:08x}", vect, pc, ea); }