OSDN Git Service

Correct dict_hash to our most recent version.
authorhilfingr <hilfingr>
Thu, 7 Oct 2010 08:32:36 +0000 (08:32 +0000)
committerhilfingr <hilfingr>
Thu, 7 Oct 2010 08:32:36 +0000 (08:32 +0000)
commit89790f76b69d53fffa867aeb3a8d658644a4d574
treeaf0033c1a5781b6a5368f672501f1b97c6890c92
parentae6648ed0601021cedacf043090cdf1c9835e1bb
Correct dict_hash to our most recent version.

Several changes to dict_hash from Adacore's local version were inadvertantly
left out of the last change to that function.  These changes conservatively
cause dict_hash to revert to msymbol_hash_iw in more cases where the symbol
being hashed is known not to be Ada-encoded.  This avoids a few cases where
the function hashes large groups of names with similar prefixes to the same
value.

Changelog:

gdb/
* dictionary.c (dict_hash): Revert to msymbol_hash_iw in
more cases.
gdb/ChangeLog
gdb/dictionary.c