how to use addr2line?
i have a program that gives the backtrace of last 10 addresses that it visited before crash. but if i use these address to addr2line like
addr2line -e test [address]
it just gives me
??:0
is there a special way to compile to use addr2line like we use ggdb to use gdb?
You need to have some debugging information compiled in to your executable. e.g.