Fix mapped_index::find_name_components_bounds upper bound computation
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 31e447aa7dea93aeb8031f732d33d823e790799f..d3b7b42257f9047101ac79ac6e2fd2ea7deca453 100644 (file)
@@ -1,3 +1,35 @@
+2017-11-21  Pedro Alves  <palves@redhat.com>
+
+       * dwarf2read.c (mapped_index::find_name_components_bounds)
+       <completion mode, upper bound>: Use std::lower_bound instead of
+       std::upper_bound.
+       (test_mapped_index_find_name_component_bounds): Remove incorrect
+       "t1_fund" from expected symbols.
+
+2017-11-21  Pedro Alves  <palves@redhat.com>
+
+       * dwarf2read.c (mapped_index::name_components_casing): New field.
+       (mapped_index) <build_name_components,
+       find_name_components_bounds): Declare new methods.
+       (mapped_index::find_name_components_bounds)
+       (mapped_index::build_name_components): New methods, factored out
+       from dw2_expand_symtabs_matching_symbol.
+       (check_find_bounds_finds)
+       (test_mapped_index_find_name_component_bounds): New.
+       (run_test): Rename to ...
+       (test_dw2_expand_symtabs_matching_symbol): ... this.
+       (run_test): Reimplement.
+
+2017-11-21  Pedro Alves  <palves@redhat.com>
+
+       * cp-name-parser.y (cp_ident_is_alpha, cp_ident_is_alnum): New.
+       (symbol_end): Use cp_ident_is_alnum.
+       (yylex): Use cp_ident_is_alpha and cp_ident_is_alnum.
+       * dwarf2read.c (make_sort_after_prefix_name): New function.
+       (dw2_expand_symtabs_matching_symbol): Use it.
+       (test_symbols): Add more symbols.
+       (run_test): Add tests.
+
 2017-11-17  Tom Tromey  <tom@tromey.com>
 
        * symtab.h (enum symbol_subclass_kind): New.
This page took 0.026989 seconds and 4 git commands to generate.