From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21540 invoked by alias); 16 Feb 2010 22:27:56 -0000 Received: (qmail 21531 invoked by uid 22791); 16 Feb 2010 22:27:55 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Feb 2010 22:27:50 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1GMRn74027612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 16 Feb 2010 17:27:49 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1GMRmBI016120; Tue, 16 Feb 2010 17:27:49 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o1GMRmk9021066; Tue, 16 Feb 2010 17:27:48 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id BD62A379956; Tue, 16 Feb 2010 15:27:47 -0700 (MST) From: Tom Tromey To: Chris Moller Cc: gdb-patches@sourceware.org Subject: Re: beta patch for PR 9065 References: <4B7AE477.9060606@redhat.com> <20100216215313.GA4858@caradoc.them.org> Reply-To: tromey@redhat.com Date: Tue, 16 Feb 2010 22:27:00 -0000 In-Reply-To: <20100216215313.GA4858@caradoc.them.org> (Daniel Jacobowitz's message of "Tue, 16 Feb 2010 16:53:16 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00407.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> It's been a while since I looked at this, but the typeinfo for a class Daniel> with RTTI should be available in the symbol table (_ZTI Daniel> symbols). Oh, right. Maybe I was confusing this w/ a vtable slot, whoops. Daniel> We could synthesize a type_info object; the Itanium C++ ABI defines Daniel> the layout (section 2.9.5). But we might also have to synthesize its Daniel> name() method, as it is unlikely to be emitted out of line. I think it would be acceptable, though not ideal, to give an error in this situation. Tom