diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-10-16 03:23:35 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-10-16 03:23:35 +0000 |
commit | 8cc1c88238180c5b97da41194a56e5f9771eb995 (patch) | |
tree | a25f98224c73f7405a985a0c4250c506c15b1543 | |
parent | ba19b94f67aeec0722939ce17b4067c8fd05f4cc (diff) | |
download | gdb-8cc1c88238180c5b97da41194a56e5f9771eb995.zip gdb-8cc1c88238180c5b97da41194a56e5f9771eb995.tar.gz gdb-8cc1c88238180c5b97da41194a56e5f9771eb995.tar.bz2 |
2001-10-15 Elena Zannoni <ezannoni@redhat.com>
* symtab.c (lookup_block_symbol): Update comment.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/symtab.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 643a2a4..0c4e037 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-10-15 Elena Zannoni <ezannoni@redhat.com> + + * symtab.c (lookup_block_symbol): Update comment. + 2001-10-15 Andrew Cagney <ac131313@redhat.com> * value.h (value_as_address): Rename value_as_pointer. diff --git a/gdb/symtab.c b/gdb/symtab.c index 53ed050..b1a2590 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. |