[PATCH] Fix handling of discriminantless univariant enums in Rust
Tom Tromey
tom@tromey.com
Sun Oct 30 03:34:00 GMT 2016
>>>>> "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
More information about the Gdb-patches
mailing list