summaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-01-26 04:20:31 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-01-26 04:20:31 +0000
commit8eb4602788d1c0b3da11b9383492a7cdb5657f9d (patch)
tree23f70e1e6990c1bfa118ce1efa0f7a52e6cc1304 /config-ml.in
parent0ada00d6182dce5160f8893a842f1ce6c8c96569 (diff)
downloadgdb-8eb4602788d1c0b3da11b9383492a7cdb5657f9d.tar.gz
Ada: allow unqualified function names in linespecs
This is the meat, where we replace the old la_symbol_name_compare language method with the new ada_get_symbol_name_match_p. It fixes the problem when trying to insert a breakpoint on "+". gdb/ChangeLog: * language.h (symbol_name_match_p_ftype): New typedef. (struct language_defn): Replace field la_symbol_name_compare by la_get_symbol_name_match_p. * ada-lang.c (ada_get_symbol_name_match_p): New function. (ada_language_defn): Use it. * linespec.c (struct symbol_matcher_data): New type. (iterate_name_matcher): Rewrite. (iterate_over_all_matching_symtabs): Pass a pointer to a symbol_matcher_data struct to expand_symtabs_matching instead of just the lookup name. * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c, language.c: Delete field la_symbol_name_compare, and replace by NULL for new field la_get_symbol_name_match_p. * symfile.h (struct quick_symbol_functions): Update comment.
Diffstat (limited to 'config-ml.in')
0 files changed, 0 insertions, 0 deletions