From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27870 invoked by alias); 7 Dec 2001 21:45:34 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27832 invoked from network); 7 Dec 2001 21:45:33 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sources.redhat.com with SMTP; 7 Dec 2001 21:45:33 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id F1FC05E9D8; Fri, 7 Dec 2001 16:46:49 -0500 (EST) To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] Build cv-qualified types correctly References: <20011206181231.A26281@nevyn.them.org> From: Jim Blandy Date: Fri, 07 Dec 2001 13:45:00 -0000 In-Reply-To: Daniel Jacobowitz's message of Thu, 6 Dec 2001 18:12:31 -0500 Message-ID: X-Mailer: Gnus v5.3/Emacs 19.34 X-SW-Source: 2001-12/txt/msg00210.txt.bz2 Daniel Jacobowitz writes: > We call make_cv_type mostly on unfinished types. We then later decide they > are opaque (nfields == 0), and go to look them up. That's a bug. We then > look up just the name and discard cv-qualifiers. That's a bug too. This > patch fixes both. > > Needed for my 3.0/dwarf2 work, no regressions on 2.95.3/stabs/x86-linux. > Fixes the missing "const" I referenced in a previous message today. > > OK to commit? Yes, please.