From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31194 invoked by alias); 15 Jun 2009 12:16:57 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 31183 invoked by uid 22791); 15 Jun 2009 12:16:57 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Date: Mon, 15 Jun 2009 12:16:00 -0000 From: Jan Kratochvil To: Joost van der Sluis Cc: archer@sourceware.org Subject: Re: Calculating array length Message-ID: <20090615121643.GA16406@host0.dyn.jankratochvil.net> References: <1244370173.22994.14.camel@wsjoost> <20090607144745.GA21154@host0.dyn.jankratochvil.net> <1244390772.8081.39.camel@wsjoost> <20090607174924.GA4174@host0.dyn.jankratochvil.net> <1244841847.11453.3.camel@wsjoost> <20090615115701.GA12218@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090615115701.GA12218@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.19 (2009-01-05) X-SW-Source: 2009-q2/txt/msg00157.txt.bz2 On Mon, 15 Jun 2009 13:57:01 +0200, Jan Kratochvil wrote: > I see now that object_address_get_data should be probably just called by > check_typedef. Nonsense from me, check_typedef knows only about `struct type *' but object_address_get_data needs to know the object address (usually from `struct value *'). Remembered now why there was this complication. Regards, Jan