From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10527 invoked by alias); 10 Jan 2005 18:32:53 -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 10510 invoked by uid 48); 10 Jan 2005 18:32:49 -0000 Date: Mon, 10 Jan 2005 18:32:00 -0000 Message-ID: <20050110183249.10509.qmail@sourceware.org> From: "dberlin at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041222003609.19124.hjl@lucon.org> References: <20041222003609.19124.hjl@lucon.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug debug/19124] [4.0 regression] gcc generates incorrect dwarf2 debug info X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg01256.txt.bz2 List-Id: ------- Additional Comments From dberlin at gcc dot gnu dot org 2005-01-10 18:32 ------- The patch is correct, the code printing "without DW_AT_frame_base" is wrong. Note that while the immediate container of the variable, the DW_TAG_inlined_subroutine, does not have a frame_base attribute, *it's* container, the DW_TAG_subprogram, does. The code i have int he patch notices this. In other words, there is a frame base that should be associated with this location list. I see nothing in the standard that disallows this, though i'm happy to ask the standards committee mailing list if you believe i am in error :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19124