[binutils-gdb] Remove old univariant code from rust-lang.c

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Thu Apr 12 19:33:00 GMT 2018


*** TEST RESULTS FOR COMMIT 53d7df28bcbaecaf2dca7f8a4bf829e3dd786693 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 53d7df28bcbaecaf2dca7f8a4bf829e3dd786693

Remove old univariant code from rust-lang.c

Since moving Rust enum handling into dwarf2read.c, some old code for
handling univariant enums in rust-lang.c has been obsolete.  This
patch removes this code.

Tested on x86-64 Fedora 26, using rustc 1.23 (1.24 emits incorrect
DWARF for enums and so can't be used for this test).

2018-04-12  Tom Tromey  <tom@tromey.com>

	* rust-lang.c (rust_print_struct_def): Remove univariant code.
	(rust_evaluate_subexp): Likewise.



More information about the Gdb-testers mailing list