From: Elena Zannoni Date: Tue, 16 Oct 2001 03:23:35 +0000 (+0000) Subject: 2001-10-15 Elena Zannoni X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=8cc1c88238180c5b97da41194a56e5f9771eb995;p=deliverable%2Fbinutils-gdb.git 2001-10-15 Elena Zannoni * symtab.c (lookup_block_symbol): Update comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 643a2a403e..0c4e037e3d 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 53ed050eb0..b1a259013d 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.