mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
symtab.c (basic_lookup_symbol_nonlocal): Add comment.
gdb/ChangeLog: * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* symtab.c (basic_lookup_symbol_nonlocal): Add comment.
|
||||||
|
|
||||||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
|
* symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
|
||||||
|
@ -1792,6 +1792,10 @@ basic_lookup_symbol_nonlocal (const char *name,
|
|||||||
than that one, so I don't think we should worry about that for
|
than that one, so I don't think we should worry about that for
|
||||||
now. */
|
now. */
|
||||||
|
|
||||||
|
/* NOTE: dje/2014-10-26: The lookup in all objfiles search could skip
|
||||||
|
the current objfile. Searching the current objfile first is useful
|
||||||
|
for both matching user expectations as well as performance. */
|
||||||
|
|
||||||
sym = lookup_symbol_in_static_block (name, block, domain);
|
sym = lookup_symbol_in_static_block (name, block, domain);
|
||||||
if (sym != NULL)
|
if (sym != NULL)
|
||||||
return sym;
|
return sym;
|
||||||
|
Reference in New Issue
Block a user