This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Handle dereferencing Rust trait objects
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 15 Nov 2017 14:28:23 -0700
- Subject: Re: [RFA] Handle dereferencing Rust trait objects
- Authentication-results: sourceware.org; auth=none
- References: <20171115212403.8639-1-tom@tromey.com>
>>>>> "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.
Tom