From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26038 invoked by alias); 27 Nov 2006 23:45:10 -0000 Received: (qmail 26027 invoked by uid 22791); 27 Nov 2006 23:45:09 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Nov 2006 23:45:01 +0000 Received: (qmail 12305 invoked from network); 27 Nov 2006 23:44:59 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Nov 2006 23:44:59 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.63) (envelope-from ) id 1Goq9i-0005Px-Kd; Mon, 27 Nov 2006 23:44:58 +0000 Date: Mon, 27 Nov 2006 23:45:00 -0000 From: "Joseph S. Myers" To: Daniel Jacobowitz cc: Gary Funck , gdb@sourceware.org Subject: Re: how to support C type qualifiers applied to arrays? In-Reply-To: <20061127230948.GA19798@nevyn.them.org> Message-ID: References: <200611272217.kARMHtw3023324@intrepid.intrepid.com> <20061127230948.GA19798@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00188.txt.bz2 On Mon, 27 Nov 2006, Daniel Jacobowitz wrote: > On Mon, Nov 27, 2006 at 02:42:12PM -0800, Gary Funck wrote: > > Q: Is GCC generating an inaccurate DWARF 2 representation > > to describe a qualified array type, or is GDB not > > interpreting the DWARF 2 information correctly? > > I will defer to experts on this but I believe GCC is incorrect. Specifically, GCC bug 8354 (all the patch links in that bug are broken: GCC bug 20588: so refer to the mbox archives, but there isn't anything much worthwhile in the patch referenced) deals with the DWARF 2 information for arrays and type qualifiers. -- Joseph S. Myers joseph@codesourcery.com