From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20363 invoked by alias); 8 Apr 2002 14:37:00 -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 20079 invoked from network); 8 Apr 2002 14:36:58 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 8 Apr 2002 14:36:58 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16uaGU-0006Ns-00 for ; Mon, 08 Apr 2002 10:37:02 -0400 Date: Mon, 08 Apr 2002 07:37:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] gdb.c++/method.exp Message-ID: <20020408103702.A24331@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <200204080721.g387Lfe09282@duracef.shout.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204080721.g387Lfe09282@duracef.shout.net> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00293.txt.bz2 On Mon, Apr 08, 2002 at 02:21:41AM -0500, Michael Elizabeth Chastain wrote: > I am committing the following patch to gdb.c++/method.exp. > > This cleans up the script considerably. It also fixes several spurious > FAILs by accepting "A * const" and "const A * const". > > After applying this patch, there is still 1 FAIL in two configurations: > "print this in A::bar" still FAILs on native i686-pc-linux-gnu with > gcc gcc-3_1-branch and gcc HEAD. Erm... did we reach a conclusion about whether those const's were really optional? In a const method, there should be a const on the type of 'this'. Obviously we won't get it in g++2.95/stabs, and I think we agreed that the latter const is optional (on the *); but the const on 'A' should be part of the type of this for a const method. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer