* ada-lang.c (is_digits_suffix): New function.
authorJoel Brobecker <brobecker@gnat.com>
Wed, 10 Sep 2008 20:10:48 +0000 (20:10 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 10 Sep 2008 20:10:48 +0000 (20:10 +0000)
commit5823c3efd3c1d3ef701e0121b3461984a709384d
treef017caecae16f6a65a7e6d73daf25363052ba712
parente5fa801315521fa47ac51dbba412996c86caa8db
    * ada-lang.c (is_digits_suffix): New function.
        (is_dot_digits_suffix): Remove.
        (ada_lookup_symbol_list): Remove digits suffix from minimal symbols
        before looking up in symbol table, and do not use wild matches on them.
        (wild_match): Reimplement for speed and to allow matching of operator
        symbols.
        (is_valid_name_for_wild_match): Return zero for names that do not
        follow the GNAT encoding.

        (is_name_suffix): Fix typo in comment.
        (to_record_with_fixed_variant_part): Ditto.
gdb/ChangeLog
gdb/ada-lang.c