Here is the thread where the discussion starts: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01152.html Here are the two relevant commits to gcc for this patch (the first one was incomplete so the second one is just a small addition): http://gcc.gnu.org/viewcvs?view=rev&revision=112601 http://gcc.gnu.org/viewcvs?view=rev&revision=113524 Here is the actual combined patch that I have been using (verified that it works): http://dev.gentoo.org/~kanaka/files/gcc-dwarf-info.patch
added to cvs patchset for 4.1.1-r1