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 committed by Sebastien Bourdeauducq
parent 66bbee51d8
commit 7c520aa0c4
1 changed files with 1 additions and 1 deletions

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>")