aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-09-25 21:44:11 +0000
committerDoug Evans <dje@google.com>2013-09-25 21:44:11 +0000
commitade7ed9e33d5f0bff646623bc8c905c0d782fcdc (patch)
tree3beb19b971feb5426c86e1b3d637c383d7796bd2 /gdb/psymtab.c
parent4e8516b2d98ff0bf08862b7f8b628c6b40623181 (diff)
downloadgdb-ade7ed9e33d5f0bff646623bc8c905c0d782fcdc.zip
gdb-ade7ed9e33d5f0bff646623bc8c905c0d782fcdc.tar.gz
gdb-ade7ed9e33d5f0bff646623bc8c905c0d782fcdc.tar.bz2
* symfile.h (struct quick_symbol_functions): Reorg arg list of
map_matching_symbols so objfile is first. All uses updated. * dwarf2read.c (dw2_map_matching_symbols): Update signature. * psymtab.c (map_matching_symbols_psymtab): Update signature.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index feea823..8eac5e1 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -1238,8 +1238,9 @@ map_block (const char *name, domain_enum namespace, struct objfile *objfile,
the definition of quick_symbol_functions in symfile.h. */
static void
-map_matching_symbols_psymtab (const char *name, domain_enum namespace,
- struct objfile *objfile, int global,
+map_matching_symbols_psymtab (struct objfile *objfile,
+ const char *name, domain_enum namespace,
+ int global,
int (*callback) (struct block *,
struct symbol *, void *),
void *data,