From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88631 invoked by alias); 16 Nov 2017 16:40:36 -0000 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 Received: (qmail 88618 invoked by uid 89); 16 Nov 2017 16:40:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=f23, person X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Nov 2017 16:40:34 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5D26F13A49; Thu, 16 Nov 2017 16:40:33 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id A85C85C1A3; Thu, 16 Nov 2017 16:40:32 +0000 (UTC) Subject: Re: [RFA] Handle dereferencing Rust trait objects To: Tom Tromey References: <20171115212403.8639-1-tom@tromey.com> <87o9o38c5k.fsf@tromey.com> Cc: gdb-patches@sourceware.org From: Pedro Alves Message-ID: <08c0e477-ab7c-490c-fcc9-2e68a60a3c70@redhat.com> Date: Thu, 16 Nov 2017 16:40:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <87o9o38c5k.fsf@tromey.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-11/txt/msg00314.txt.bz2 On 11/15/2017 09:28 PM, Tom Tromey wrote: >>>>>> "Tom" == Tom Tromey writes: > > Tom> Objects that are referenced via a trait can't currently be inspected by > Tom> gdb. This patch implements the Rust equivalent of "set print object". > > I forgot a couple of details. > > The Rust compiler patch is here: > > https://github.com/rust-lang/rust/pull/45897 > > It should go in soon. > > I wasn't sure if I ought to xfail the new tests. I have the impression > that I'm the only person who runs the Rust gdb tests, but I'm not > actually certain. I run the rust tests with whatever's the rust compiler that comes with Fedora: $ rustc --version rustc 1.13.0 (2c6933acc 2016-11-07) I assume others that run Fedora do the same, since I assume the instructions to set up for gdb testing on Fedora pull in rustc [1]. So I guess the bots are testing rust too? (I'm still on F23, should really upgrade...) [1] https://sourceware.org/gdb/wiki/BuildBot#Fedora-specific_instructions Thanks, Pedro Alves