binutils-gdb/gdb/testsuite/gdb.rust
Tom Tromey 4a3fe98f88 Make Rust error message mention the field name
I noticed a spot in rust-lang.c where the placeholder "foo" was used
instead of the actual field name.  This patch fixes the bug.

gdb/ChangeLog
2018-09-13  Tom Tromey  <tom@tromey.com>

	PR rust/23650:
	* rust-lang.c (rust_evaluate_subexp): Use field name, not "foo".

gdb/testsuite/ChangeLog
2018-09-13  Tom Tromey  <tom@tromey.com>

	PR rust/23650:
	* gdb.rust/simple.exp: Add test for enum field access error.
2018-09-13 10:57:40 -06:00
..
expr.exp rust: Fix null deref when casting (PR 23124) 2018-04-30 23:02:01 -06:00
generics.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
generics.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
methods.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
methods.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
modules.exp Fix qualified name lookup for Rust 2018-01-19 15:30:28 -07:00
modules.rs Fix qualified name lookup for Rust 2018-01-19 15:30:28 -07:00
simple.exp Make Rust error message mention the field name 2018-09-13 10:57:40 -06:00
simple.rs Fix crash with empty Rust enum 2018-09-13 10:57:39 -06:00
traits.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
traits.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
unsized.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
unsized.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
watch.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
watch.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00