]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
lookup_symbol_in_block: Renamed from lookup_symbol_aux_block.
authorDoug Evans <xdje42@gmail.com>
Fri, 7 Nov 2014 07:04:15 +0000 (23:04 -0800)
committerDoug Evans <xdje42@gmail.com>
Fri, 7 Nov 2014 07:04:15 +0000 (23:04 -0800)
gdb/ChangeLog:

* symtab.c (lookup_symbol_in_block): Renamed from
lookup_symbol_aux_block.  All callers updated.

gdb/ChangeLog
gdb/cp-namespace.c
gdb/symtab.c
gdb/symtab.h

index f31e43a3d4a64e2438e34d83d8689b4ffb11b3c0..3300cda3f8418a4ef9187618658e5cae8716f9f2 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_symbol_in_block): Renamed from
+       lookup_symbol_aux_block.  All callers updated.
+
 2014-11-06  Doug Evans  <xdje42@gmail.com>
 
        * symtab.c (lookup_static_symbol): Renamed from
index 76ffee231d9a24e5ac2b9aab87b076d48a93fb9b..898fb5a7d9c3620a3ab31a663c631b05a475ad2d 100644 (file)
@@ -628,7 +628,7 @@ lookup_symbol_file (const char *name,
       const struct block *global_block = block_global_block (block);
       
       if (global_block != NULL)
-       sym = lookup_symbol_aux_block (name, global_block, domain);
+       sym = lookup_symbol_in_block (name, global_block, domain);
     }
   else
     {
index f6c307995ee50921a9b9c3dddc97c24b4e1c8b99..3c2e2779b5f04895bc6c91179302cb060335471f 100644 (file)
@@ -1515,7 +1515,7 @@ lookup_symbol_aux_local (const char *name, const struct block *block,
 
   while (block != static_block)
     {
-      sym = lookup_symbol_aux_block (name, block, domain);
+      sym = lookup_symbol_in_block (name, block, domain);
       if (sym != NULL)
        return sym;
 
@@ -1567,8 +1567,8 @@ lookup_objfile_from_block (const struct block *block)
 /* See symtab.h.  */
 
 struct symbol *
-lookup_symbol_aux_block (const char *name, const struct block *block,
-                        const domain_enum domain)
+lookup_symbol_in_block (const char *name, const struct block *block,
+                       const domain_enum domain)
 {
   struct symbol *sym;
 
@@ -1808,7 +1808,7 @@ lookup_symbol_in_static_block (const char *name,
   const struct block *static_block = block_static_block (block);
 
   if (static_block != NULL)
-    return lookup_symbol_aux_block (name, static_block, domain);
+    return lookup_symbol_in_block (name, static_block, domain);
   else
     return NULL;
 }
index 1d9525863096d1c91796778decacdce4046df507..5564dbe6ccba376db6fc3ed6d838fc24e568c6fc 100644 (file)
@@ -1104,13 +1104,13 @@ extern struct symbol *lookup_symbol_global (const char *name,
                                            const struct block *block,
                                            const domain_enum domain);
 
-/* Lookup a symbol within the block BLOCK.
+/* Lookup a symbol in block BLOCK.
    Upon success sets BLOCK_FOUND and fixes up the symbol's section
    if necessary.  */
 
-extern struct symbol *lookup_symbol_aux_block (const char *name,
-                                              const struct block *block,
-                                              const domain_enum domain);
+extern struct symbol *lookup_symbol_in_block (const char *name,
+                                             const struct block *block,
+                                             const domain_enum domain);
 
 /* Look up the `this' symbol for LANG in BLOCK.  Return the symbol if
    found, or NULL if not found.  */