Fix gdb.rust/simple.rs for more recent compilers
authorTom Tromey <tom@tromey.com>
Mon, 19 Nov 2018 17:52:32 +0000 (10:52 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 19 Nov 2018 18:07:07 +0000 (11:07 -0700)
commit994b876a510ad2ed7e0d34a4c7d08f8039cef6ef
tree6d04459a2340ae2f19f03fe5936d2ffeaf63412f
parent39a36629f68e9796d950d9204012fe8272e2d0ef
Fix gdb.rust/simple.rs for more recent compilers

gdb.rust/simple.exp will fail when run with a recent version of rustc.
This patch fixes the test case so that it will continue to run.

Tested on x86-64 Fedora 28.

I also temporarily backed out the rust-lang.c from
commit 098b2108a2b61531c0bc8ea16854f773083a95d7, and verified that
this updated test still would have provoked the original bug.

gdb/testsuite/ChangeLog
2018-11-19  Tom Tromey  <tom@tromey.com>

* gdb.rust/simple.rs: Don't initialize empty_enum_value.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/simple.rs
This page took 0.0244 seconds and 4 git commands to generate.