forked from M-Labs/artiq
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:
parent
86ba219c11
commit
132b55d6be
@ -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>")
|
||||
|
Loading…
Reference in New Issue
Block a user