aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog61
1 files changed, 43 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9e5a615..803edfe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,24 +1,49 @@
+2010-10-07 Paul Hilfinger <hilfinger@adacore.com>
+
+ * ada-lang.c (full_match): Declare.
+ (ada_match_name): Rename to match_name (we should avoid prefixing static
+ symbols with "ada_").
+ (match_name): New name for ada_match_name.
+ (struct ada_psym_data): Remove and replace with...
+ (struct match_data): User data for map_matching_symbols.
+ (ada_add_psyms): Remove.
+ (aux_add_nonlocal_symbols): New function, used as callback for
+ map_matching_symbols.
+ (compare_names): Ordering function adopted from strcmp_iw for Ada-encoded
+ symbols.
+ (ada_add_non_local_symbols): Rename to add_nonlocal_symbols.
+ (add_nonlocal_symbols): Renamed from ada_add_non_local_symbols.
+ Rework to use map_matching_symbols instead of map_ada_symtabs.
+ (ada_lookup_symbol_list): Use add_nonlocal_symbols.
+ * psymtab.c: Include dependency on dictionary.h.
+ (match_partial_symbol): New function.
+ (ada_lookup_partial_symbol): Remove.
+ (map_block): New function, auxiliary to map_matching_symbols_psymtab.
+ (map_matching_symbols_psymtab): New function.
+ (psym_functions): Replace map_ada_symtabs with map_matching_symbols_psymtab.
+ * symfile.h: Replace map_ada_symtabs definition with map_matching_symbols.
+
2010-10-06 Paul Hilfinger <hilfinger@adacore.com>
* ada-lang.c (ada_match_name): Use new API for wild_match.
- (wild_match): Change API to be consistent with that of strcmp_iw;
- return 0 for a match, and switch operand order.
- (full_match): New function.
- (ada_add_block_symbols): Use dict_iter_match_{first,next} for
- matching to allow use of hashing.
- * dictionary.c (struct dict_vector): Generalize iter_name_first,
- iter_name_next ot iter_match_first, iter_match_next.
- (iter_name_first_hashed): Replace with iter_match_first_hashed.
- (iter_name_next_hashed): Replace with iter_match_next_hashed.
- (iter_name_first_linear): Replace with iter_match_first_linear.
- (iter_name_next_linear): Replace with iter_match_next_linear.
- (dict_iter_name_first): Re-implement to use dict_iter_match_first.
- (dict_iter_name_next): Re-implement to use dict_iter_match_next.
- (dict_iter_match_first): New function.
- (dict_iter_match_next): New function.
- (dict_hash): New function.
- * dictionary.h (dict_iter_match_first, dict_iter_match_next): Declare.
- * psymtab.c (ada_lookup_partial_symbol): Use new wild_match API.
+ (wild_match): Change API to be consistent with that of strcmp_iw;
+ return 0 for a match, and switch operand order.
+ (full_match): New function.
+ (ada_add_block_symbols): Use dict_iter_match_{first,next} for
+ matching to allow use of hashing.
+ * dictionary.c (struct dict_vector): Generalize iter_name_first,
+ iter_name_next ot iter_match_first, iter_match_next.
+ (iter_name_first_hashed): Replace with iter_match_first_hashed.
+ (iter_name_next_hashed): Replace with iter_match_next_hashed.
+ (iter_name_first_linear): Replace with iter_match_first_linear.
+ (iter_name_next_linear): Replace with iter_match_next_linear.
+ (dict_iter_name_first): Re-implement to use dict_iter_match_first.
+ (dict_iter_name_next): Re-implement to use dict_iter_match_next.
+ (dict_iter_match_first): New function.
+ (dict_iter_match_next): New function.
+ (dict_hash): New function.
+ * dictionary.h (dict_iter_match_first, dict_iter_match_next): Declare.
+ * psymtab.c (ada_lookup_partial_symbol): Use new wild_match API.
2010-10-06 Doug Evans <dje@google.com>