2012-02-22 Gary Benson <gbenson@redhat.com>

* dwarf2read.c (dwarf2_read_index): Correct misspelling.
	(find_slot_in_mapped_hash): Likewise.
This commit is contained in:
Gary Benson
2012-02-22 14:55:25 +00:00
parent aed555c941
commit feea76c262
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-02-22 Gary Benson <gbenson@redhat.com>
* dwarf2read.c (dwarf2_read_index): Correct misspelling.
(find_slot_in_mapped_hash): Likewise.
2012-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> 2012-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
PR build/13638 PR build/13638

View File

@ -2054,7 +2054,7 @@ find_slot_in_mapped_hash (struct mapped_index *index, const char *name,
} }
/* Index version 4 did not support case insensitive searches. But the /* Index version 4 did not support case insensitive searches. But the
indexes for case insensitive languages are built in lowercase, therefore indices for case insensitive languages are built in lowercase, therefore
simulate our NAME being searched is also lowercased. */ simulate our NAME being searched is also lowercased. */
hash = mapped_index_string_hash ((index->version == 4 hash = mapped_index_string_hash ((index->version == 4
&& case_sensitivity == case_sensitive_off && case_sensitivity == case_sensitive_off
@ -2125,7 +2125,7 @@ dwarf2_read_index (struct objfile *objfile)
version 5 and later. */ version 5 and later. */
if (version < 4) if (version < 4)
return 0; return 0;
/* Indexes with higher version than the one supported by GDB may be no /* Indices with higher version than the one supported by GDB may be no
longer backward compatible. */ longer backward compatible. */
if (version > 5) if (version > 5)
return 0; return 0;