From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29654 invoked by alias); 11 Nov 2013 13:04:13 -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 29639 invoked by uid 89); 11 Nov 2013 13:04:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_00,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; Mon, 11 Nov 2013 13:04:12 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Vfr9n-0001rE-Td from Yao_Qi@mentor.com ; Mon, 11 Nov 2013 05:03:55 -0800 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Nov 2013 05:03:55 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Mon, 11 Nov 2013 05:03:55 -0800 Message-ID: <5280D568.1030308@codesourcery.com> Date: Mon, 11 Nov 2013 13:04: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: "Elmenthaler, Jens" CC: "gdb@sourceware.org" Subject: Re: has_more="0" with pretty-printer installed References: <5280864A.8020201@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00037.txt.bz2 On 11/11/2013 04:05 PM, Elmenthaler, Jens wrote: > Since dynamic is true, there is a pretty printer registered for zzz_type or struct container. Struct container looks like a collection, so the purpose of the pretty printer probably is to show its elements as children, not the struct's data members itself. If nobody add elements to the container, the number of its children will be 0. Just a guess, of course, ... Your are right, the pretty printer shows field "elements" of "struct container" as children, instead of "struct container"'s fields. Thanks! -- Yao (齐尧)