This is the mail archive of the
mailing list for the binutils project.
Re: getting the line of a function when walking the stack with libbfd
On Thu, Mar 22, 2012 at 2:28 AM, Alan Modra <firstname.lastname@example.org> wrote:
> On Wed, Mar 21, 2012 at 11:21:53PM +0100, Vincent Torri wrote:
>> I played a bit with objdump -S and addr2line seems to work.
> That's good. ?So you now have a known working source that uses current
> BFD, binutils/addr2line.c, upon which to base your code. ?;-)
the problem is that i'm doing what addr2line does (wrt the bfd part)
Or at least, i don't know where the error is.
The only problem that I can see is how I get the address.
i'll investigate more, checking what address I get and what objdump is returing