diff options
author | Tom Tromey <tom@tromey.com> | 2017-07-13 15:03:27 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-07-14 10:16:39 -0600 |
commit | 65547233e04b32e087f74f8f5e9d3ffb6fe2c198 (patch) | |
tree | eab7e58cd431d01c48bce4ac30e00b1a98c62e4e /gdb/ChangeLog | |
parent | 8f14146e1317b7b416ce298fad1a4f3d1ccbeb2b (diff) | |
download | gdb-65547233e04b32e087f74f8f5e9d3ffb6fe2c198.zip gdb-65547233e04b32e087f74f8f5e9d3ffb6fe2c198.tar.gz gdb-65547233e04b32e087f74f8f5e9d3ffb6fe2c198.tar.bz2 |
Make gdb.lookup_typename work for Rust types
PR rust/21763 points out that gdb.lookup_typename does not work properly
for (some) Rust types. I tracked this down to a missing case in
symbol_matches_domain.
Tested by the buildbot.
2017-07-14 Tom Tromey <tom@tromey.com>
PR rust/21763:
* symtab.c (symbol_matches_domain): Add language_rust to special
case.
* rust-exp.y (convert_ast_to_expression) <OP_VAR_VALUE>: Don't
treat LOC_TYPEDEF symbols as variables.
2017-07-14 Tom Tromey <tom@tromey.com>
* gdb.rust/simple.exp: Add regression test for PR rust/21763.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8c6a4f4..513cb6b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2017-07-14 Tom Tromey <tom@tromey.com> + + PR rust/21763: + * symtab.c (symbol_matches_domain): Add language_rust to special + case. + * rust-exp.y (convert_ast_to_expression) <OP_VAR_VALUE>: Don't + treat LOC_TYPEDEF symbols as variables. + 2017-07-14 Pedro Alves <palves@redhat.com> * symtab.c (make_file_symbol_completion_list_1): Iterate over |