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 Tue, Mar 20, 2012 at 5:33 AM, Alan Modra <amodra@gmail.com> wrote:
> On Mon, Mar 19, 2012 at 07:03:04PM +0100, Vincent Torri wrote:
>> But all of them do not find the correct line where the function is
>> called. It seems that the line is actually the one finishing the
>> function (that is a 'return' call or the closing curly bracket)
>
> Does addr2line work?

I actually don't know how to use the addr2line program (I have to pass
an address and I don't know which value i have to use)

Vincent Torri


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