Remove language param from name_matcher in struct quick_symbol_functions
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 490a66239cf25518cc459c2408e1cee267dcf7e9..bf53d7bff439bb160d40cf4664b9107d13e96bae 100644 (file)
@@ -1,3 +1,85 @@
+2012-01-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]:
+       Remove language parameter from name_matcher.  Adjust the comment.
+       * symtab.c (search_symbols_name_matches, expand_partial_symbol_name):
+       Remove language parameter.
+       * ada-lang.c (ada_expand_partial_symbol_name): Likewise.
+       * linespec.c (iterate_name_matcher): Likewise.
+       * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of
+       name_matcher.  Adjust call accordingly.
+       * psymtab.c (expand_symtabs_matching_via_partial): Likewise.
+       (maintenance_check_symtabs): Adjust type of parameter "fun".
+       * psymtab.h (maintenance_check_symtabs): Likewise.
+
+2012-01-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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.
+
+2012-01-25  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
+       dereferencing.
+
+2012-01-24  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/12406:
+       * solib.c (update_solib_list): Update the program space's
+       added_solibs and deleted_solibs fields.
+       * progspace.h (struct program_space) <added_solibs,
+       deleted_solibs>: New fields.
+       (clear_program_space_solib_cache): Declare.
+       * progspace.c (release_program_space): Call
+       clear_program_space_solib_cache.
+       (clear_program_space_solib_cache): New function.
+       * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call
+       bpstat_stop_status.  Use handle_solib_event.
+       * breakpoint.c: Include gdb_regex.h.
+       (print_solib_event): New function.
+       (bpstat_print): Use print_solib_event.
+       (bpstat_stop_status): Add special case for bp_shlib_event.
+       (handle_solib_event): New function.
+       (bpstat_what): Use handle_solib_event.
+       (struct solib_catchpoint): New.
+       (dtor_catch_solib, insert_catch_solib, remove_catch_solib)
+       (breakpoint_hit_catch_solib, check_status_catch_solib)
+       (print_it_catch_solib, print_one_catch_solib)
+       (print_mention_catch_solib, print_recreate_catch_solib): New
+       functions.
+       (catch_solib_breakpoint_ops): New global.
+       (catch_load_or_unload, catch_load_command_1)
+       (catch_unload_command_1): New functions.
+       (internal_bkpt_check_status): Add special case for
+       bp_shlib_event.
+       (internal_bkpt_print_it): Use print_solib_event.
+       (initialize_breakpoint_ops): Initialize
+       catch_solib_breakpoint_ops.
+       (_initialize_breakpoint): Register "catch load" and "catch
+       unload".
+       * breakpoint.h (handle_solib_event): Declare.
+       * NEWS: Add entry for "catch load" and "catch unload".
+
+2012-01-24  Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c: Include gdb_vecs.h.
+       * charset.c: Include gdb_vecs.h.
+       * tracepoint.h: Include gdb_vecs.h.
+       * gdb_vecs.h: New file.
+
 2012-01-24  Pedro Alves  <pedro@codesourcery.com>
 
        * breakpoint.c (breakpoint_hit_catch_fork)
This page took 0.024171 seconds and 4 git commands to generate.