This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getting the line of a function when walking the stack with libbfd


On Thu, Mar 22, 2012 at 2:28 AM, Alan Modra <amodra@gmail.com> 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

thank you

Vincent Torri


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]