Update debug_qf_expand_symtabs_matching to use typedefs.
authorGary Benson <gbenson@redhat.com>
Mon, 10 Feb 2014 14:07:44 +0000 (14:07 +0000)
committerGary Benson <gbenson@redhat.com>
Mon, 10 Feb 2014 14:07:44 +0000 (14:07 +0000)
Commit 206f2a5777679e6d1ad21ce435f6e7af92e2d41a added two new
typedefs, but did not update debug_qf_expand_symtabs_matching
to use them.  This patch fixes this.

Checked in as obvious.

2014-02-10  Gary Benson  <gbenson@redhat.com>

* symfile-debug.c (debug_qf_expand_symtabs_matching):
Use expand_symtabs_file_matcher_ftype and
expand_symtabs_symbol_matcher_ftype.

gdb/ChangeLog
gdb/symfile-debug.c

index 84e02e4acf1ea60ff5f847f4a4e378336634d072..84c7a7fec9148ad6b350e84556804d6b4cdc1f2e 100644 (file)
@@ -1,3 +1,9 @@
+2014-02-10  Gary Benson  <gbenson@redhat.com>
+
+       * symfile-debug.c (debug_qf_expand_symtabs_matching):
+       Use expand_symtabs_file_matcher_ftype and
+       expand_symtabs_symbol_matcher_ftype.
+
 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
index 705d9cb4bf812e1ffbf3e10c57bb6f2461a2a470..030489e4507b08b68fff6fff72e100bed68fc98e 100644 (file)
@@ -284,9 +284,8 @@ debug_qf_map_matching_symbols (struct objfile *objfile,
 
 static void
 debug_qf_expand_symtabs_matching (struct objfile *objfile,
-                                 int (*file_matcher) (const char *, void *,
-                                                      int basenames),
-                                 int (*name_matcher) (const char *, void *),
+                               expand_symtabs_file_matcher_ftype *file_matcher,
+                           expand_symtabs_symbol_matcher_ftype *symbol_matcher,
                                  enum search_domain kind,
                                  void *data)
 {