From: Gary Benson Date: Mon, 10 Feb 2014 14:07:44 +0000 (+0000) Subject: Update debug_qf_expand_symtabs_matching to use typedefs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f861efe0b5a083211ec80db63a612f87daa626;p=binutils-gdb.git Update debug_qf_expand_symtabs_matching to use typedefs. 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 * symfile-debug.c (debug_qf_expand_symtabs_matching): Use expand_symtabs_file_matcher_ftype and expand_symtabs_symbol_matcher_ftype. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 84e02e4acf1..84c7a7fec91 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2014-02-10 Gary Benson + + * 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 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c index 705d9cb4bf8..030489e4507 100644 --- a/gdb/symfile-debug.c +++ b/gdb/symfile-debug.c @@ -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) {