aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.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/ada-lang.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/ada-lang.c')
-rw-r--r--gdb/ada-lang.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index f29c351..d2b0ed2 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -5040,11 +5040,11 @@ add_nonlocal_symbols (struct obstack *obstackp, const char *name,
data.objfile = objfile;
if (is_wild_match)
- objfile->sf->qf->map_matching_symbols (name, domain, objfile, global,
+ objfile->sf->qf->map_matching_symbols (objfile, name, domain, global,
aux_add_nonlocal_symbols, &data,
wild_match, NULL);
else
- objfile->sf->qf->map_matching_symbols (name, domain, objfile, global,
+ objfile->sf->qf->map_matching_symbols (objfile, name, domain, global,
aux_add_nonlocal_symbols, &data,
full_match, compare_names);
}
@@ -5057,8 +5057,8 @@ add_nonlocal_symbols (struct obstack *obstackp, const char *name,
strcpy (name1, "_ada_");
strcpy (name1 + sizeof ("_ada_") - 1, name);
data.objfile = objfile;
- objfile->sf->qf->map_matching_symbols (name1, domain,
- objfile, global,
+ objfile->sf->qf->map_matching_symbols (objfile, name1, domain,
+ global,
aux_add_nonlocal_symbols,
&data,
full_match, compare_names);