https://sourceware.org/bugzilla/show_bug.cgi?id=23173
Luke Diamand <luke at diamand dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Luke Diamand <luke at diamand dot org> ---
That works like a charm with my Python test code:
#!/usr/bin/python3
import subprocess
import os
addr = b'0xa6308\n'
elf = 'myfile.elf'
a2l='eu-addr2line'
p = subprocess.Popen([a2l, '-f', '--demangle', '-e', elf],
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
p.stdin.write(addr)
p.stdin.flush()
print(p.stdout.readline())
print(p.stdout.readline())
--
You are receiving this mail because:
You are on the CC list for the bug.