From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14234 invoked by alias); 2 Aug 2005 17:01:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 14185 invoked by uid 48); 2 Aug 2005 17:00:56 -0000 Date: Tue, 02 Aug 2005 17:01:00 -0000 Message-ID: <20050802170056.14183.qmail@sourceware.org> From: "mmitchel at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050802003405.23190.dpatel@apple.com> References: <20050802003405.23190.dpatel@apple.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug debug/23190] [4.0/4.1 Regression] debug info omitted for uninitialized variables (stabs) X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg00228.txt.bz2 List-Id: ------- 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