This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Help using elfutils to get function and line number
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 16 Mar 2009 12:22:17 -0700
- Subject: Re: Help using elfutils to get function and line number
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