From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32527 invoked by alias); 4 May 2006 07:20:00 -0000 Received: (qmail 32519 invoked by uid 22791); 4 May 2006 07:19:59 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 May 2006 07:19:55 +0000 Received: from farnswood.snap.net.nz (p202-124-114-221.snap.net.nz [202.124.114.221]) by viper.snap.net.nz (Postfix) with ESMTP id 4B0C37560DB; Thu, 4 May 2006 19:19:53 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id E5E62627ED; Thu, 4 May 2006 08:20:14 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17497.43822.261192.673547@farnswood.snap.net.nz> Date: Thu, 04 May 2006 07:20:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: Variable objects: references formatting In-Reply-To: <200605041100.09748.ghost@cs.msu.su> References: <17497.14121.225320.477428@farnswood.snap.net.nz> <200605040930.11191.ghost@cs.msu.su> <17497.40328.776132.200023@farnswood.snap.net.nz> <200605041100.09748.ghost@cs.msu.su> X-Mailer: VM 7.19 under Emacs 22.0.50.43 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00038.txt.bz2 > Well, if you say patches against the previous revision of a file cause > problems, I'll try to send patches against most current version in future. Thanks. ... > > No, I just didn't appreciate the difference between pointers and references > > in GDB. The discrepancy I "found" was due to me mistyping. However I do > > see a problem with gcc 4.1 and variable objects where GDB keeps telling me: > > > > Child of parent whose type does not allow children > > > > when it didn't when my program was compiled with gcc 3.2. > > Again, maybe you can provide specific case where this error is produced? If > it affect real-world cases we'd better fix it soon. It happens when I debug Emacs but I can't provide a simple case yet. However, do you see the problem with references that I mentioned earlier (that they don't seem to disappear from the changelist with -var-update)? This seems to be the case for any variable object made from a reference. -- Nick http://www.inet.net.nz/~nickrob