From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19768 invoked by alias); 10 Jul 2009 06:13:03 -0000 Received: (qmail 19758 invoked by uid 22791); 10 Jul 2009 06:13:02 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Jul 2009 06:12:39 +0000 Received: (qmail 24073 invoked from network); 10 Jul 2009 06:12:37 -0000 Received: from unknown (HELO wind.localnet) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 10 Jul 2009 06:12:37 -0000 From: Vladimir Prus To: Tom Tromey Subject: Re: Robustifying pretty-printers Date: Fri, 10 Jul 2009 06:13:00 -0000 User-Agent: KMail/1.11.90 (Linux/2.6.24-24-generic; KDE/4.2.90; i686; svn-979530; 2009-06-10) Cc: gdb@sources.redhat.com References: <200906131411.34204.vladimir@codesourcery.com> <200907092119.55363.vladimir@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200907101012.32112.vladimir@codesourcery.com> 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-07/txt/msg00067.txt.bz2 On Thursday 09 July 2009 Tom Tromey wrote: > Vladimir> We probably need a way to explicitly reset the > Vladimir> 'remembemered' limit on elements, so that frontend is not > Vladimir> forced to display 20 elements forever. > > I couldn't find a reason why you wanted the range on > -var-list-children and not as a separate command. Could you explain > why? The reason I ask is that this issue was already solved in the > old patch: you could use -var-set-child-range to set and also unset > the range. The primary reason is that if frontend wants to fetch more data, it's natural to issue: -var-list-children 10 20 than -var-set-child-range 0 20 -var-list-children and then filter out the first 10 elements FE already has. - Volodya