From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28820 invoked by alias); 10 Dec 2006 11:24:00 -0000 Received: (qmail 28811 invoked by uid 22791); 10 Dec 2006 11:23:59 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 10 Dec 2006 11:23:53 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1GtMmc-0001xv-62 for gdb-patches@sources.redhat.com; Sun, 10 Dec 2006 14:23:50 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GtMmW-0001xj-SY; Sun, 10 Dec 2006 14:23:45 +0300 From: Vladimir Prus To: Nick Roberts Subject: Re: MI: fix base members in references Date: Sun, 10 Dec 2006 11:24:00 -0000 User-Agent: KMail/1.9.1 References: <17787.10504.215397.177658@kahikatea.snap.net.nz> <200612100114.44118.ghost@cs.msu.su> <17787.35236.492750.204386@kahikatea.snap.net.nz> In-Reply-To: <17787.35236.492750.204386@kahikatea.snap.net.nz> Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612101423.14154.ghost@cs.msu.su> 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: 2006-12/txt/msg00148.txt.bz2 On Sunday 10 December 2006 07:14, you wrote: > Vladimir Prus writes: > > > does the code you've added ever does anything? > > It seems to handle variable objects of references to pointers correctly. > Have you tried it? No, I trust you when you say that the patch as the whole fixes the problem. However, given the definition of get_type_deref I don't understand how it does that. You patch has four hunks, and in two of the you check for pointer type and call get_target_type immediately after call to get_type_deref. It looks like it should have no effect, so I'd like to understand what I'm missing. - Volodya