[v2] Fix Rust enum test failures

Joel Brobecker brobecker@adacore.com
Thu Mar 1 02:59:00 GMT 2018


Hi Tom,

> 2018-02-28  Tom Tromey  <tom@tromey.com>
> 
> 	* dwarf2read.c (alloc_discriminant_info): Fix default_index
> 	assertion.  Add assertion for discriminant_index.
> 	(quirk_rust_enum): Use correct base type name in univariant case.

Looks good to me. Thanks for the quick fix.

-- 
Joel



More information about the Gdb-patches mailing list