This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rust/21763] gdb.lookup_type fails for rust


https://sourceware.org/bugzilla/show_bug.cgi?id=21763

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65547233e04b32e087f74f8f5e9d3ffb6fe2c198

commit 65547233e04b32e087f74f8f5e9d3ffb6fe2c198
Author: Tom Tromey <tom@tromey.com>
Date:   Thu Jul 13 15:03:27 2017 -0600

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]