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
86ba219c11
commit
132b55d6be
|
@ -38,7 +38,7 @@ class CoreException:
|
||||||
elif address == last_address:
|
elif address == last_address:
|
||||||
formatted_address = " (inlined)"
|
formatted_address = " (inlined)"
|
||||||
else:
|
else:
|
||||||
formatted_address = " (RA=0x{:x})".format(address)
|
formatted_address = " (RA=+0x{:x})".format(address)
|
||||||
last_address = address
|
last_address = address
|
||||||
|
|
||||||
filename = filename.replace(artiq_dir, "<artiq>")
|
filename = filename.replace(artiq_dir, "<artiq>")
|
||||||
|
|
Loading…
Reference in New Issue