[Bug debug/23190] [4.0/4.1 Regression] debug info omitted for uninitialized variables (stabs)

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 2 17:01:00 GMT 2005


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-08-02 17:00 -------
Devang --

The DWARF-2 information looks correct to me, from the section of DWARF-2 code
that you posted in the original report for this bug.  I know GDB doesn't print
the variable, but I don't think that's the compiler's fault; the information
looks OK.  Is there something wrong with the DWARF-2 generated, or is this just
a GDB bug?

I'm not oppposed to making the kind of change you're proposing for the C front
end; I suggested the same thing.  But, it is a complex change; as you've noted,
there are regressions when you try it.

-- Mark

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23190



More information about the Gcc-bugs mailing list