From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13749 invoked by alias); 27 Jan 2010 19:33:50 -0000 Received: (qmail 13733 invoked by uid 22791); 27 Jan 2010 19:33:49 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f221.google.com (HELO mail-bw0-f221.google.com) (209.85.218.221) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Jan 2010 19:33:45 +0000 Received: by bwz21 with SMTP id 21so329209bwz.4 for ; Wed, 27 Jan 2010 11:33:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.239.183.209 with SMTP id v17mr1166280hbg.209.1264620822958; Wed, 27 Jan 2010 11:33:42 -0800 (PST) In-Reply-To: References: Date: Wed, 27 Jan 2010 19:33:00 -0000 Message-ID: Subject: Re: Custom call frame description From: Mitar To: Tom Tromey Cc: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2010-01/txt/msg00199.txt.bz2 Hi! On Wed, Jan 27, 2010 at 4:58 PM, Tom Tromey wrote: > The subrange type defines the range of the array, not the type of the > array's elements. =C2=A0See the DWARF spec for stuff like this; I found t= he > answer by just searching for DW_TAG_subrange_type. I do read it all the time. It is written in 2.0 version: The subrange entry may have a DW_AT_type attribute to describe the type of object of whose values this subrange is a subset. And in 3.0 version: The subrange entry may have a DW_AT_type attribute to describe the type of object, called the basis type, of whose values this subrange is a subset. And from that I understand that it is meant to describe a base type of an array, that is a type of an each element. Mitar