This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix handling of discriminantless univariant enums in Rust
>>>>> "Manish" == Manish Goregaokar <manish@mozilla.com> writes:
Manish> `print univariant.a` works for me.
I tried this patch and it failed the way I thought it would:
print univariant.a
Attempting to access named field a of tuple variant simple::Univariant::Foo, which has only anonymous fields
(gdb) FAIL: gdb.rust/simple.exp: print univariant.a
Maybe you're trying it with the follow-up patch installed?
In that case I think the patches should probably be combined.
Tom