diff options
author | Tom Tromey <tromey@redhat.com> | 2012-02-01 15:49:34 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-02-01 15:49:34 +0000 |
commit | d9680e739f79d8f9061f0404efb2a8477a89c83b (patch) | |
tree | b03c14bb32aebcf15742ea51444f852010a39d21 /gdb/ada-exp.y | |
parent | 8b971f9fe98d53e92ad7ca36a55c207eda5782aa (diff) | |
download | gdb-d9680e739f79d8f9061f0404efb2a8477a89c83b.zip gdb-d9680e739f79d8f9061f0404efb2a8477a89c83b.tar.gz gdb-d9680e739f79d8f9061f0404efb2a8477a89c83b.tar.bz2 |
* ada-lang.c (resolve_subexp): Update.
(ada_lookup_symbol_list): Add 'full_search' argument.
(ada_iterate_over_symbols): Pass 0 as full_search argument to
ada_lookup_symbol_list.
(ada_lookup_encoded_symbol): Update.
(get_var_value): Update.
* ada-exp.y (block_lookup): Update.
(write_var_or_type): Update.
(write_name_assoc): Update.
* ada-lang.h (ada_lookup_symbol_list): Update.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index d8c21a4..d1c7367 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -1021,7 +1021,7 @@ block_lookup (struct block *context, char *raw_name) else name = ada_encode (raw_name); - nsyms = ada_lookup_symbol_list (name, context, VAR_DOMAIN, &syms); + nsyms = ada_lookup_symbol_list (name, context, VAR_DOMAIN, &syms, 1); if (context == NULL && (nsyms == 0 || SYMBOL_CLASS (syms[0].sym) != LOC_BLOCK)) symtab = lookup_symtab (name); @@ -1278,7 +1278,7 @@ write_var_or_type (struct block *block, struct stoken name0) encoded_name[tail_index] = '\0'; nsyms = ada_lookup_symbol_list (encoded_name, block, - VAR_DOMAIN, &syms); + VAR_DOMAIN, &syms, 1); encoded_name[tail_index] = terminator; /* A single symbol may rename a package or object. */ @@ -1427,7 +1427,7 @@ write_name_assoc (struct stoken name) { struct ada_symbol_info *syms; int nsyms = ada_lookup_symbol_list (name.ptr, expression_context_block, - VAR_DOMAIN, &syms); + VAR_DOMAIN, &syms, 1); if (nsyms != 1 || SYMBOL_CLASS (syms[0].sym) == LOC_TYPEDEF) write_exp_op_with_string (OP_NAME, name); else |