]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/dictionary.c
Correct dict_hash to our most recent version.
authorPaul N. Hilfinger <hilfinger@adacore.com>
Thu, 7 Oct 2010 08:32:41 +0000 (08:32 +0000)
committerPaul N. Hilfinger <hilfinger@adacore.com>
Thu, 7 Oct 2010 08:32:41 +0000 (08:32 +0000)
commit1d2a4540a591685f1d4a126ea54b5b62478de1b5
tree194b55b9db0c69f828c86acfda9f97b52efb6eda
parent40658b9446ce0507f120bdc69c51c3dfbfd35381
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