From 8c563bb3b0092aa47ae5f640d0e2b64e3854499e Mon Sep 17 00:00:00 2001 From: ezannoni Date: Tue, 16 Oct 2001 03:23:34 +0000 Subject: [PATCH] 2001-10-15 Elena Zannoni * symtab.c (lookup_block_symbol): Update comment. --- gdb/ChangeLog | 4 ++++ gdb/symtab.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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. -- 2.11.0