From: Elena Zannoni Date: Tue, 16 Oct 2001 03:23:35 +0000 (+0000) Subject: 2001-10-15 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cc1c88238180c5b97da41194a56e5f9771eb995;p=binutils-gdb.git 2001-10-15 Elena Zannoni * symtab.c (lookup_block_symbol): Update comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 643a2a403ed..0c4e037e3d2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-10-15 Elena Zannoni + + * symtab.c (lookup_block_symbol): Update comment. + 2001-10-15 Andrew Cagney * value.h (value_as_address): Rename value_as_pointer. diff --git a/gdb/symtab.c b/gdb/symtab.c index 53ed050eb0c..b1a259013dc 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1217,7 +1217,7 @@ lookup_block_symbol (register const struct block *block, const char *name, /* Here if block isn't sorted, or we fail to find a match during the binary search above. If during the binary search above, we find a - symbol which is a C++ symbol, then we have re-enabled the linear + symbol which is a Java symbol, then we have re-enabled the linear search flag which was reset when starting the binary search. This loop is equivalent to the loop above, but hacked greatly for speed.