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

Alan Modra amodra@gmail.com
Mon Mar 26 11:13:00 GMT 2012


On Sat, Mar 24, 2012 at 10:42:46AM +0100, Vincent Torri wrote:
> Is it normal to not get the correct lines ?

-O2 often reorganises code, leading to confusion in line numbers.
Use readelf -wL or readelf -wl to see what gcc is doing.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list