Rohit Arul Raj wrote:
Can any one suggest a right place to find the differences between the DWARF formats in gcc compiler versions 3.4.6 and 4.1.1?
They both follow the standard, so there is no major change here. There are of course changes in the details.
To find the details, you could compare the dwarf2out.c files. You could check the ChangeLog, svn log, and gcc-patches mailing list to see individual patches. You could compile with -S -dA and look at the assembly language output. You could dump the debug info from object files with readelf and compare them. Etc.
-- Jim Wilson, GNU Tools Support, http://www.specifix.com