diff options
author | Tom Tromey <tom@tromey.com> | 2018-09-13 10:56:34 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-09-13 10:57:40 -0600 |
commit | 4a3fe98f885a2d1db804584e7ea265ab3ccef4d7 (patch) | |
tree | 26d5b44bfa4d40c4358b4b78b65f57e5552ae2ea /gdb/testsuite/gdb.python | |
parent | 098b2108a2b61531c0bc8ea16854f773083a95d7 (diff) | |
download | fsf-binutils-gdb-4a3fe98f885a2d1db804584e7ea265ab3ccef4d7.zip fsf-binutils-gdb-4a3fe98f885a2d1db804584e7ea265ab3ccef4d7.tar.gz fsf-binutils-gdb-4a3fe98f885a2d1db804584e7ea265ab3ccef4d7.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions