From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5309 invoked by alias); 9 Sep 2009 22:34:35 -0000 Received: (qmail 5233 invoked by uid 22791); 9 Sep 2009 22:34:33 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1-old.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Sep 2009 22:34:28 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com ([10.11.47.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n89MYP02012100 for ; Wed, 9 Sep 2009 18:34:25 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n89MYOMd021440; Wed, 9 Sep 2009 18:34:25 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n89MYNHI020228; Wed, 9 Sep 2009 18:34:24 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 25D44378182; Wed, 9 Sep 2009 16:34:23 -0600 (MDT) From: Tom Tromey To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: MI & pretty-printing References: <200907132142.18043.vladimir@codesourcery.com> Reply-To: tromey@redhat.com Date: Wed, 09 Sep 2009 22:34:00 -0000 In-Reply-To: (Vladimir Prus's message of "Sat, 05 Sep 2009 13:26:51 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-09/txt/msg00157.txt.bz2 >>>>> "Volodya" == Vladimir Prus writes: Volodya> 1. Do you think it would be OK to make the has_more field Volodya> always present? This will allow to simplify the frontend code Volodya> a bit? I actually did this already just to simplify the code :) Volodya> For non-dynamic varobjs, it should be non-zero in var-create Volodya> response if there are children. For non-dynamic ones, numchild is correct and has_more=0 always. This made the most sense to me. But, we can change it if you want. Volodya> 2. Do you think it would be OK to add a special field to Volodya> indicate that varobj is dynamic? For example, if I expand a Volodya> regular varobj, I probably want to fetch every field, while for Volodya> dynamic, I want to fetch just 10. It would be fine by me. Just let me know what you want it to be called and I will implement it tomorrow. Tom