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); }