Help using elfutils to get function and line number

Roland McGrath roland at redhat.com
Mon Mar 16 19:22:17 UTC 2009


I'm not entirely clear on the context where you are trying to do this.
Is it for the process in question to examine itself?

With e.g. eu-addr2line you can use -p or -M (see --help).  What those are
doing is driving libdwfl in a fairly straightforward way that you can also
do yourself.


Thanks,
Roland


More information about the elfutils-devel mailing list