Update gdb test suite for Rust
authorTom Tromey <tom@tromey.com>
Wed, 27 Apr 2016 01:38:43 +0000 (19:38 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 17 May 2016 18:02:01 +0000 (12:02 -0600)
commit67218854b1987d89593ccaf5feaf5b29b1b976f2
tree8137e1713d27a507dfc57015308f44166543ffc6
parentc44af4ebc000f606d16b42224cba2cfe80391d5c
Update gdb test suite for Rust

This updates the gdb test suite for Rust.

2016-05-17  Tom Tromey  <tom@tromey.com>
    Manish Goregaokar <manishsmail@gmail.com>

* lib/rust-support.exp: New file.
* lib/gdb.exp (skip_rust_tests): New proc.
(build_executable_from_specs): Handle rust.
* lib/future.exp (gdb_find_rustc): New proc.
(gdb_default_target_compile): Handle rust.
* gdb.rust/expr.exp: New file.
* gdb.rust/generics.exp: New file.
* gdb.rust/generics.rs: New file.
* gdb.rust/methods.exp: New file.
* gdb.rust/methods.rs: New file.
* gdb.rust/modules.exp: New file.
* gdb.rust/modules.rs: New file.
* gdb.rust/simple.exp: New file.
* gdb.rust/simple.rs: New file.
13 files changed:
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/expr.exp [new file with mode: 0644]
gdb/testsuite/gdb.rust/generics.exp [new file with mode: 0644]
gdb/testsuite/gdb.rust/generics.rs [new file with mode: 0644]
gdb/testsuite/gdb.rust/methods.exp [new file with mode: 0644]
gdb/testsuite/gdb.rust/methods.rs [new file with mode: 0644]
gdb/testsuite/gdb.rust/modules.exp [new file with mode: 0644]
gdb/testsuite/gdb.rust/modules.rs [new file with mode: 0644]
gdb/testsuite/gdb.rust/simple.exp [new file with mode: 0644]
gdb/testsuite/gdb.rust/simple.rs [new file with mode: 0644]
gdb/testsuite/lib/future.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/rust-support.exp [new file with mode: 0644]