mirror of https://github.com/m-labs/artiq.git
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
66bbee51d8
commit
7c520aa0c4
|
@ -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