This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Handle dereferencing Rust trait objects


On 11/15/2017 09:28 PM, Tom Tromey wrote:
>>>>>> "Tom" == Tom Tromey <tom@tromey.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]