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

mark at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 2 03:25:00 GMT 2005


------- Additional Comments From mark at codesourcery dot com  2005-08-02 03:25 -------
Subject: Re:  [4.0/4.1 Regression] debug info omitted for
 uninitialized variables (stabs)

pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-02 00:42 -------
> Actually the PR 21828 was orginally about stabs and not about dwarf-2:
> "When using gdb-309 and gdb-370 on MacOS X 10.3.9, even the simplest queries seem broken." so 
> really PR 21828 should never been closed until the stabs problem was fixed.

Then the test case in the PR (which you provided) should not have used 
DWARF-2.  I rely on the bugmasters to reduce bugs -- and they do a great 
job.

In any case, the problem is now either in the C front end or in the DBX 
generator.  Since the DWARF-2 generators do something reasonable, 
AFAICT, I would guess the problem is in either the DBX generator, or the 
  GDB reader for STABS, or in the STABS format itself.



-- 


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



More information about the Gcc-bugs mailing list