X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ff-lang.c;h=81922f73fb6a6edc3a273277fd4aeab9946325d5;hb=58ed5c38f52511e73c9748b86c319320177fb0ca;hp=073d5291f7498b55301ba47718b3dc6d05dcdd67;hpb=77b7c781e9f03cdd903dad76f47ea0bb25277b06;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/f-lang.c b/gdb/f-lang.c index 073d5291f7..81922f73fb 100644 --- a/gdb/f-lang.c +++ b/gdb/f-lang.c @@ -1,6 +1,6 @@ /* Fortran language support routines for GDB, the GNU debugger. - Copyright (C) 1993-2017 Free Software Foundation, Inc. + Copyright (C) 1993-2018 Free Software Foundation, Inc. Contributed by Motorola. Adapted from the C parser by Farooq Butt (fmbutt@engage.sps.mot.com). @@ -229,10 +229,12 @@ f_word_break_characters (void) static void f_collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, + symbol_name_match_type compare_name, const char *text, const char *word, enum type_code code) { default_collect_symbol_completion_matches_break_on (tracker, mode, + compare_name, text, word, ":", code); } @@ -267,6 +269,7 @@ extern const struct language_defn f_language_defn = default_read_var_value, /* la_read_var_value */ NULL, /* Language specific skip_trampoline */ NULL, /* name_of_this */ + false, /* la_store_sym_names_in_linkage_form_p */ cp_lookup_symbol_nonlocal, /* lookup_symbol_nonlocal */ basic_lookup_transparent_type,/* lookup_transparent_type */ @@ -289,8 +292,9 @@ extern const struct language_defn f_language_defn = default_pass_by_reference, default_get_string, c_watch_location_expression, - NULL, /* la_get_symbol_name_cmp */ + NULL, /* la_get_symbol_name_matcher */ iterate_over_symbols, + default_search_name_hash, &default_varobj_ops, NULL, NULL,