aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-exp.y
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-06 22:56:46 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-06 22:56:46 -0800
commit24d864bb955adc2ecd2103dd7a0dbf9cdfd37010 (patch)
tree162f3f2b969f5021f49be0c90452fbd5a38c8d83 /gdb/d-exp.y
parent358d6ab39c95691e721820fd54e9780208faf252 (diff)
downloadgdb-24d864bb955adc2ecd2103dd7a0dbf9cdfd37010.zip
gdb-24d864bb955adc2ecd2103dd7a0dbf9cdfd37010.tar.gz
gdb-24d864bb955adc2ecd2103dd7a0dbf9cdfd37010.tar.bz2
Rename lookup_symbol_static to lookup_symbol_in_static_block,
and lookup_static_symbol_aux to lookup_static_symbol. gdb/ChangeLog: * symtab.c (lookup_static_symbol): Renamed from lookup_static_symbol_aux. All callers updated. (lookup_symbol_in_static_block): Renamed from lookup_symbol_static. All callers updated.
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r--gdb/d-exp.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y
index 62348b1..e0df9bc 100644
--- a/gdb/d-exp.y
+++ b/gdb/d-exp.y
@@ -1179,8 +1179,8 @@ push_module_name (struct parser_state *ps, struct type *module,
char *copy;
copy = copy_name (name);
- sym = lookup_symbol_static (copy, expression_context_block,
- VAR_DOMAIN);
+ sym = lookup_symbol_in_static_block (copy, expression_context_block,
+ VAR_DOMAIN);
if (sym != NULL)
sym = lookup_symbol_global (copy, expression_context_block,
VAR_DOMAIN);