Fix test failure with Rust 1.18 and 1.19
authorTom Tromey <tom@tromey.com>
Thu, 18 May 2017 23:31:41 +0000 (17:31 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 18 May 2017 23:40:29 +0000 (17:40 -0600)
commitec8df23454873916c6b6b918967af631b268acd8
tree7f4d8f362e9000b101fbdfb8ee881078f9a223c0
parent3e3e7faebe89bfab0d245040b19fd7347d186065
Fix test failure with Rust 1.18 and 1.19

With Rust 1.18 and 1.19, I saw some test suite failures.  They were
all of the same form -- Box seems to be qualified in the output now,
like:

  print box_some
  $64 = core::option::Option<alloc::boxed::Box<u8>>::Some(0x7ffff6c21018 "\001\000")

... where the test was expecting Option<Box<u8>>.

This patch fixes the problem in a way that should work with earlier
versions of Rust.

gdb/testsuite/ChangeLog
2017-05-18  Tom Tromey  <tom@tromey.com>

* gdb.rust/simple.exp: Allow Box to be qualified.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/simple.exp