From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22650 invoked by alias); 22 Oct 2002 19:47:48 -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 22641 invoked from network); 22 Oct 2002 19:47:47 -0000 Received: from unknown (HELO freya.inter.net.il) (192.114.186.14) by sources.redhat.com with SMTP; 22 Oct 2002 19:47:47 -0000 Received: from zaretsky ([80.230.194.148]) by freya.inter.net.il (Mirapoint Messaging Server MOS 3.2.0-GA) with ESMTP id BWF59790; Tue, 22 Oct 2002 21:47:42 +0200 (IST) Date: Tue, 22 Oct 2002 12:47:00 -0000 From: "Eli Zaretskii" To: Ben.Hutchings@Symbian.Com Message-Id: <2427-Tue22Oct2002214941+0200-eliz@is.elta.co.il> CC: gdb-patches@sources.redhat.com In-reply-to: (Ben.Hutchings@Symbian.Com) Subject: Re: Fix for stabs documentation Reply-to: Eli Zaretskii References: X-SW-Source: 2002-10/txt/msg00414.txt.bz2 > From: Ben.Hutchings@Symbian.Com > Date: Tue, 22 Oct 2002 11:43:01 +0100 > > This isn't really a patch, but I couldn't find any other contact > address for "the gdb developers". > > Section 7.8 of the stabs documentation (at > http://sources.redhat.com/gdb/current/onlinedocs/stabs.html) says: > > The `@' type descriptor is for a member (class and variable) > type. It is followed by type information for the offset basetype, > a comma, and type information for the type of the field being > pointed to. (FIXME: this is acknowledged to be gibberish. Can > anyone say what really goes here?). > > I suggest using something along the following lines: > > The `@' type descriptor is used together with the `*' type > descriptor for a pointer-to-non-static-member-data type. It > is followed by type information for the class (or union), a > comma, and type information for the member data. > > The following C++ source: > > typedef int A::*int_in_a; > > generates the following stab: > > .stabs "int_in_a:t20=*21=@19,1",128,0,0,0 Thanks. The change is okay with me, assuming it describes accurately what `@' does (I don't know enough about stabs to tell).