From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4938 invoked by alias); 30 Mar 2012 20:25:45 -0000 Received: (qmail 4926 invoked by uid 22791); 30 Mar 2012 20:25:44 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB X-Spam-Check-By: sourceware.org Received: from forward7.mail.yandex.net (HELO forward7.mail.yandex.net) (77.88.61.37) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Mar 2012 20:25:28 +0000 Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward7.mail.yandex.net (Yandex) with ESMTP id DE7351C1CC3; Sat, 31 Mar 2012 00:25:26 +0400 (MSK) Received: from smtp6.mail.yandex.net (localhost [127.0.0.1]) by smtp6.mail.yandex.net (Yandex) with ESMTP id C11F516403CF; Sat, 31 Mar 2012 00:25:26 +0400 (MSK) Received: from kts.bestnet.kharkov.ua (kts.bestnet.kharkov.ua [80.92.226.138]) by smtp6.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PPGio6kn-PQGiCNbS; Sat, 31 Mar 2012 00:25:26 +0400 Message-ID: <4F761708.8080105@yandex.ru> Date: Fri, 30 Mar 2012 20:25:00 -0000 From: xgsa User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sourceware.org Subject: Re: set print object on should affect MI varobjs (PR mi/13393) References: <4ED92C05.9080803@yandex.ru> <4EF22A4D.80703@yandex.ru> <20111221193630.GA28985@host2.jankratochvil.net> <4EF30389.5010008@yandex.ru> <20111223200951.GA19581@host2.jankratochvil.net> <4EF5D1C5.5010902@yandex.ru> <20120102022153.GA686@host2.jankratochvil.net> <4F07177C.5080201@yandex.ru> <4F32C009.2050103@yandex.ru> <87pqdma1mo.fsf@fleche.redhat.com> <4F412637.2010405@yandex.ru> <4F660CF6.9070008@yandex.ru> <8339953anu.fsf@gnu.org> <4F66DBD0.4000903@yandex.ru> <83vcm01obe.fsf@gnu.org> <4F6CADEF.4080700@yandex.ru> <83vclmynmz.fsf@gnu.org> In-Reply-To: <83vclmynmz.fsf@gnu.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg01070.txt.bz2 >> +would be printed by the @value{GDBN} CLI. Note that if >> +@samp{set print object} setting is set the @emph{actual} (derived) type >> +of the object is set rather than @emph{declared} one. > "setting is set" is not right. I actually don't understand what you > tried to say; if you explain your intent, I will suggest a better > wording. I meant that "set print object on/off" will also affect the "type" field returned by -var-create and -var-list-children. Probably, it should be an "option" not "setting". The result will look like this: +would be printed by the @value{GDBN} CLI. Note that if +@samp{set print object} option is set the @emph{actual} (derived) type +of the object is set rather than @emph{declared} one. Is it ok? >> +The type of the child. Note that if @samp{set print object} setting is > ^^ > Two spaces here, please. Fixed. P.S. I have also found a mistake in my gdb/doc/Changelog. It should be "-var-create and -var-list-children" instead of "-var-create and -var-update". Fixed. Anton.