From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4971 invoked by alias); 23 Jul 2012 17:21:41 -0000 Received: (qmail 4959 invoked by uid 22791); 23 Jul 2012 17:21:38 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_XG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp18.uk.ibm.com (HELO e06smtp18.uk.ibm.com) (195.75.94.114) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Jul 2012 17:21:25 +0000 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 23 Jul 2012 18:21:23 +0100 Received: from d06nrmr1806.portsmouth.uk.ibm.com (9.149.39.193) by e06smtp18.uk.ibm.com (192.168.101.148) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 23 Jul 2012 18:21:21 +0100 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6NHLKA61826944 for ; Mon, 23 Jul 2012 18:21:20 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6NHLJ5K001990 for ; Mon, 23 Jul 2012 11:21:20 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id q6NHLIkh001963; Mon, 23 Jul 2012 11:21:18 -0600 Message-Id: <201207231721.q6NHLIkh001963@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 23 Jul 2012 19:21:18 +0200 Subject: Re: set print object on should affect MI varobjs (PR mi/13393) To: jan.kratochvil@redhat.com (Jan Kratochvil) Date: Mon, 23 Jul 2012 17:21:00 -0000 From: "Ulrich Weigand" Cc: xgsa@yandex.ru (xgsa), tromey@redhat.com (Tom Tromey), gdb-patches@sourceware.org In-Reply-To: <20120416163226.GA9706@host2.jankratochvil.net> from "Jan Kratochvil" at Apr 16, 2012 06:32:26 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit x-cbid: 12072317-6892-0000-0000-00000283551E 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-07/txt/msg00458.txt.bz2 Jan Kratochvil wrote: > 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 Yes, I'm seeing similar failures on a number of platforms (arm, spu, s390x). The reason seems to be that the test case is attempting to display local variables that are not yet initialized, and thus their contents are random. For C++ objects, this includes a random vtable pointer ... Now, this particular sub-test appears to do this deliberately; all the other sub-tests only create the varobj *after* their corresponding objects were initialized. I'm not quite sure what exactly the test is supposed to be testing, but I guess it ought to be done differently ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com