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

Vincent Torri vincent.torri@gmail.com
Fri Mar 23 07:47:00 GMT 2012


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



More information about the Binutils mailing list