From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8975 invoked by alias); 23 Nov 2013 13:34:54 -0000 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 Received: (qmail 8965 invoked by uid 89); 23 Nov 2013 13:34:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.1 required=5.0 tests=AWL,BAYES_50,GARBLED_BODY,RDNS_NONE autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 23 Nov 2013 13:34:52 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1VkDM4-0004q3-FE from Yao_Qi@mentor.com ; Sat, 23 Nov 2013 05:34:36 -0800 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 23 Nov 2013 05:34:36 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.2.247.3; Sat, 23 Nov 2013 05:34:12 -0800 Message-ID: <5290AE80.8050103@codesourcery.com> Date: Sat, 23 Nov 2013 13:34:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Pedro Alves CC: Tom Tromey , "gdb@sourceware.org" Subject: Re: semantics of dynamic varobj References: <528F5839.4050100@codesourcery.com> <87eh68e7qk.fsf@fleche.redhat.com> <528F8856.9030606@redhat.com> In-Reply-To: <528F8856.9030606@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00092.txt.bz2 On 11/23/2013 12:37 AM, Pedro Alves wrote: > I no longer have the full context, but these varobjs are also > only enabled when the client requests them (a new option > to -var-create, IIRC). That is, a regular varobj will include both > unavailable and available fields, with unavailable fields listed as > "value=". For those, which fields are listed > can be determined "statically", as usual, from the debug info. While > this new varobj lists only the available fields, skipping the > unavailable ones. The option is "--available-children-only". I'll post the patches soon. > > (*) - Yao, as usual, the whole rationale for that should be > in CS's internal archives. Yes, I've got the mail in the archives. -- Yao (齐尧)