coredevice: format backtrace RA as +0xN, not 0xN.

The absolute address is somewhere in the 0x4000000 range; the one
that is displayed is an offset from the shared object base.
This commit is contained in:
whitequark 2016-04-02 17:48:09 +00:00
parent 86ba219c11
commit 132b55d6be

View File

@ -38,7 +38,7 @@ class CoreException:
elif address == last_address:
formatted_address = " (inlined)"
else:
formatted_address = " (RA=0x{:x})".format(address)
formatted_address = " (RA=+0x{:x})".format(address)
last_address = address
filename = filename.replace(artiq_dir, "<artiq>")