aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-exp.y
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-06 23:48:18 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-06 23:48:18 -0800
commit08724ab7cab54446283db200db58a3313463a1a2 (patch)
tree2bce5ee3e45e7e6532192b135a58ac10b6f42238 /gdb/d-exp.y
parentd9060ba60d1523c87e44eaeb7706d168089936a3 (diff)
downloadgdb-08724ab7cab54446283db200db58a3313463a1a2.zip
gdb-08724ab7cab54446283db200db58a3313463a1a2.tar.gz
gdb-08724ab7cab54446283db200db58a3313463a1a2.tar.bz2
Rename lookup_symbol_global to lookup_global_symbol.
gdb/ChangeLog: * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global. All callers updated. * symtab.h (lookup_global_symbol): Update decl. (lookup_static_symbol): Move decl to better location.
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r--gdb/d-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y
index e0df9bc..5e4c10d 100644
--- a/gdb/d-exp.y
+++ b/gdb/d-exp.y
@@ -1182,7 +1182,7 @@ push_module_name (struct parser_state *ps, struct type *module,
sym = lookup_symbol_in_static_block (copy, expression_context_block,
VAR_DOMAIN);
if (sym != NULL)
- sym = lookup_symbol_global (copy, expression_context_block,
+ sym = lookup_global_symbol (copy, expression_context_block,
VAR_DOMAIN);
if (sym != NULL)