From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17254 invoked by alias); 17 Aug 2009 18:24:58 -0000 Received: (qmail 17244 invoked by uid 22791); 17 Aug 2009 18:24:58 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Aug 2009 18:24:51 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7HIOnvK010771 for ; Mon, 17 Aug 2009 14:24:49 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n7HIOm2Z017806 for ; Mon, 17 Aug 2009 14:24:48 -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 n7HIOlqx023738; Mon, 17 Aug 2009 14:24:47 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 236183782CD; Mon, 17 Aug 2009 12:24:46 -0600 (MDT) From: Tom Tromey To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: MI & pretty-printing References: <200907132142.18043.vladimir@codesourcery.com> <200908160043.22383.vladimir@codesourcery.com> Reply-To: Tom Tromey Date: Mon, 17 Aug 2009 18:48:00 -0000 In-Reply-To: <200908160043.22383.vladimir@codesourcery.com> (Vladimir Prus's message of "Sun, 16 Aug 2009 00:43:21 +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-08/txt/msg00150.txt.bz2 >>>>> "Volodya" == Vladimir Prus writes: Volodya> Note that at this point, displayed value of the vector switches Volodya> to "std::vector of length 2...". I think we discussed that Volodya> such value should not be used inside MI. We discussed it but, IIRC, did not come to any agreement about it. Volodya> Is it expected that if I have varobj with 1 child, then Volodya> -var-list-children var 10 20 Volodya> still prints numchild=1 ? I don't know. I suppose we could try to restrict it to children in the requested range. Tom