------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-22 01:33 ------- One more thing, we now produce variable tracking which I hear don't get along well with gdb or readelf so I assume -fno-var-tracking will get rid of the seg fault but at that point, the seg fault becomes a gdb bug and not a gcc one, I am assuming that gcc is outputting correct dwarf-2 (which it is known to as far as I know).
If gdb cannot really handle var-tracking, we can disable it for 4.0 since it is a new feature but it was an important one which was did not make into 3.4.0 because it got reviewed too late. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19124