From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3769 invoked by alias); 16 Apr 2012 18:35:08 -0000 Received: (qmail 3674 invoked by uid 22791); 16 Apr 2012 18:35:07 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_XG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Apr 2012 18:34:50 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3GIYXjY010765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 16 Apr 2012 14:34:50 -0400 Received: from host2.jankratochvil.net (ovpn-116-17.ams2.redhat.com [10.36.116.17]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3GGWQ4G018916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 16 Apr 2012 12:32:29 -0400 Date: Mon, 16 Apr 2012 18:35:00 -0000 From: Jan Kratochvil To: xgsa Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: set print object on should affect MI varobjs (PR mi/13393) Message-ID: <20120416163226.GA9706@host2.jankratochvil.net> References: <87971333177060@web108.yandex.ru> <4F76CF8B.9060303@yandex.ru> <4F7AFB12.4000105@yandex.ru> <4F7F2461.8040204@yandex.ru> <4F87DA24.1060806@yandex.ru> <83ty0n3ksc.fsf@gnu.org> <4F881C48.5030109@yandex.ru> <87ehrry2sk.fsf@fleche.redhat.com> <4F896D6A.6000402@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F896D6A.6000402@yandex.ru> User-Agent: Mutt/1.5.21 (2010-09-15) 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-04/txt/msg00426.txt.bz2 On Sat, 14 Apr 2012 14:28:26 +0200, xgsa wrote: > >Yeah. I'm sorry about the delay. The patch is ok, please check it in. > > Checked in. Fedora 17 x86_64: +FAIL: gdb.mi/mi-var-rtti.exp: list children of s.public in type_update_when_use_rtti +FAIL: gdb.mi/mi-var-rtti.exp: list children of s.ptr (without RTTI) in type_update_when_use_rtti +FAIL: gdb.mi/mi-var-rtti.exp: list children of s.ptr.public (without RTTI) in type_update_when_use_rtti Thanks, Jan +Expecting: \^done,numchild=".*",children=\[child={name="S.public.ptr",exp="ptr",numchild="1",type="Base \*"(,thread-id="[0-9]+")?}.*\],has_more="0" +Expecting: ^(-var-list-children S\.public [^M +]+)?(\^done,numchild=".*",children=\[child={name="S.public.ptr",exp="ptr",numchild="1",type="Base \*"(,thread-id="[0-9]+")?}.*\],has_more="0"[^M +]+[(]gdb[)] ^M +[ ]*) +-var-list-children S.public ^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +^done,numchild="1",children=[child={name="S.public.ptr",exp="ptr",numchild="1",type="Base *",thread-id="1"}],has_more="0"^M +(gdb) ^M +FAIL: gdb.mi/mi-var-rtti.exp: list children of s.public in type_update_when_use_rtti +Expecting: \^done,numchild=".*",children=\[child={name="S.public.ptr.public",exp="public",numchild="1"(,thread-id="[0-9]+")?}.*\],has_more="0" +Expecting: ^(-var-list-children S\.public\.ptr [^M +]+)?(\^done,numchild=".*",children=\[child={name="S.public.ptr.public",exp="public",numchild="1"(,thread-id="[0-9]+")?}.*\],has_more="0"[^M +]+[(]gdb[)] ^M +[ ]*) +-var-list-children S.public.ptr ^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +^done,numchild="1",children=[child={name="S.public.ptr.public",exp="public",numchild="1",thread-id="1"}],has_more="0"^M +(gdb) ^M +FAIL: gdb.mi/mi-var-rtti.exp: list children of s.ptr (without RTTI) in type_update_when_use_rtti +Expecting: \^done,numchild=".*",children=\[child={name="S.public.ptr.public.A",exp="A",numchild="0",type="int"(,thread-id="[0-9]+")?}.*\],has_more="0" +Expecting: ^(-var-list-children S\.public\.ptr\.public [^M +]+)?(\^done,numchild=".*",children=\[child={name="S.public.ptr.public.A",exp="A",numchild="0",type="int"(,thread-id="[0-9]+")?}.*\],has_more="0"[^M +]+[(]gdb[)] ^M +[ ]*) +-var-list-children S.public.ptr.public ^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +&"warning: can't find linker symbol for virtual table for `Base' value\n"^M +&"warning: found `Base::Base()' instead\n"^M +^done,numchild="1",children=[child={name="S.public.ptr.public.A",exp="A",numchild="0",type="int",thread-id="1"}],has_more="0"^M +(gdb) ^M +FAIL: gdb.mi/mi-var-rtti.exp: list children of s.ptr.public (without RTTI) in type_update_when_use_rtti