aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-01-14 18:30:31 -0800
committerDoug Evans <dje@google.com>2014-01-14 18:30:31 -0800
commit206f2a5777679e6d1ad21ce435f6e7af92e2d41a (patch)
treea4fa8416d471b8b535238214a70235df78c4022e /gdb/ChangeLog
parent540c2971fa25a14ae16a9bb14ba2f424b5f1ea96 (diff)
downloadgdb-206f2a5777679e6d1ad21ce435f6e7af92e2d41a.zip
gdb-206f2a5777679e6d1ad21ce435f6e7af92e2d41a.tar.gz
gdb-206f2a5777679e6d1ad21ce435f6e7af92e2d41a.tar.bz2
psymtab cleanup patch 2/3
This patch adds two typedefs: expand_symtabs_file_matcher_ftype expand_symtabs_symbol_matcher_ftype It also renames the NAME_MATCHER argument in expand_symtabs_matching. The function is named expand_symtabs_matching and it takes a name_matcher argument. Name of what? The symtab? A symbol? I made it SYMBOL_MATCHER to make it clearer. * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. (expand_symtabs_symbol_matcher_ftype): New typedef. (quick_symbol_functions.expand_symtabs_matching): Update to use. expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. * symfile.c (expand_partial_symbol_names): Update to use expand_symtabs_symbol_matcher_ftype. * dwarf2read.c (dw2_expand_symtabs_matching): Update to use expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to symbol_matcher. * psymtab.c (recursively_search_psymtabs): Update to use expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to sym_matcher. (expand_symtabs_matching_via_partial): Update to use expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to symbol_matcher.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 015e4cc..1ea6dac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,23 @@
2014-01-14 Doug Evans <dje@google.com>
+ * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
+ (expand_symtabs_symbol_matcher_ftype): New typedef.
+ (quick_symbol_functions.expand_symtabs_matching): Update to use.
+ expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
+ * symfile.c (expand_partial_symbol_names): Update to use
+ expand_symtabs_symbol_matcher_ftype.
+ * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
+ expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
+ Arg name_matcher renamed to symbol_matcher.
+ * psymtab.c (recursively_search_psymtabs): Update to use
+ expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
+ sym_matcher.
+ (expand_symtabs_matching_via_partial): Update to use
+ expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
+ Arg name_matcher renamed to symbol_matcher.
+
+2014-01-14 Doug Evans <dje@google.com>
+
* psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
(map_partial_symbol_filenames): Ditto.
* psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.