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 7:08 AM, Vincent Torri <vincent.torri@gmail.com> wrote:
>
> 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

So, it seems that the win32 function that I use to get the frames is
not returning a correct value. I use StackWalk64() [1].

is there a way to get  the frames with libbfd ? And if there is a
program or an example somewhere, that would be nice.

thank you

Vincent Torri

[1] http://msdn.microsoft.com/en-us/library/windows/desktop/ms680650%28v=vs.85%29.aspx


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