From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11809 invoked by alias); 3 May 2006 17:50:29 -0000 Received: (qmail 11800 invoked by uid 22791); 3 May 2006 17:50:28 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0102.google.com (HELO wx-out-0102.google.com) (66.249.82.206) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 03 May 2006 17:50:26 +0000 Received: by wx-out-0102.google.com with SMTP id h30so171512wxd for ; Wed, 03 May 2006 10:50:25 -0700 (PDT) Received: by 10.70.59.8 with SMTP id h8mr2197032wxa; Wed, 03 May 2006 10:50:25 -0700 (PDT) Received: by 10.70.129.13 with HTTP; Wed, 3 May 2006 10:50:25 -0700 (PDT) Message-ID: <8f2776cb0605031050q6b9f1b2ale98d0734d4dec3f9@mail.gmail.com> Date: Wed, 03 May 2006 17:50:00 -0000 From: "Jim Blandy" To: "Vladimir Prus" Subject: Re: Variable objects: references formatting Cc: gdb-patches@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Google-Sender-Auth: 83027f4cba726245 X-IsSubscribed: yes 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/msg00019.txt.bz2 On 5/3/06, Vladimir Prus wrote: > At the moment, when using variable objects to display a struct or a class, > the result of -data-evaluate-expression is "...". However, when displaying > a reference to a class, the result of -data-evaluate-expression is > {}-enclosed list of members and their values. > > This disparity does not seem to be reasonable, the attached patch fixes i= t: I think you're right, and the patch looks good. I'll apply it. It seems we've committed some of your prior patches without getting a copyright assignment; since they were small, this is fine. But if you plan to continue making contributions to GDB, it would be nice to get the paperwork taken care of properly. I'll send you mail off-line about this.