From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1784 invoked by alias); 15 Nov 2017 21:28:27 -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 1581 invoked by uid 89); 15 Nov 2017 21:28:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=person X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (192.185.196.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Nov 2017 21:28:25 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 8213113D56 for ; Wed, 15 Nov 2017 15:28:24 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id F5EOeK9Frc72gF5EOeG37U; Wed, 15 Nov 2017 15:28:24 -0600 Received: from 71-218-90-63.hlrn.qwest.net ([71.218.90.63]:47006 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eF5EO-003uhj-BO; Wed, 15 Nov 2017 15:28:24 -0600 From: Tom Tromey To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Handle dereferencing Rust trait objects References: <20171115212403.8639-1-tom@tromey.com> Date: Wed, 15 Nov 2017 21:28:00 -0000 In-Reply-To: <20171115212403.8639-1-tom@tromey.com> (Tom Tromey's message of "Wed, 15 Nov 2017 14:24:03 -0700") Message-ID: <87o9o38c5k.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1eF5EO-003uhj-BO X-Source-Sender: 71-218-90-63.hlrn.qwest.net (pokyo) [71.218.90.63]:47006 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2017-11/txt/msg00290.txt.bz2 >>>>> "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. Tom