diff options
author | swagiaal <swagiaal> | 2010-08-31 17:26:06 +0000 |
---|---|---|
committer | swagiaal <swagiaal> | 2010-08-31 17:26:06 +0000 |
commit | fb846e72510040325bffd8f755180ea0025108dc (patch) | |
tree | 941c55f9d9540a4d7daa677c0fc3b33bd3795c46 /gdb/fbsd-nat.c | |
parent | 45663fac93d772deb093c3332bb8f2486713ec06 (diff) | |
download | gdb-fb846e72510040325bffd8f755180ea0025108dc.tar.gz |
Enable custom bcache hash function.
2010-08-25 Sami Wagiaalla <swagiaal@redhat.com>
* psymtab.c (add_psymbol_to_bcache): Remove 'static' from
'static partial_symbol psymbol'.
(psymbol_hash): New function.
(psymbol_compare): New function.
* bcache.c (hash_continue): New.
(hash): Use hash_continue.
* bcache.c: Add hash_function and compare_function
pointers to bcache struct.
(bcache_full): Use bcache->hash_function, and
bcache->compare_function.
(bcache_compare): New function.
(bcache_xmalloc): Take hash_function and
compare_function arguments and initialize the
bcach's pointers.
Updated comment.
* objfiles.c (allocate_objfile): Updated.
* symfile.c (reread_symbols): Updated.
* python/py-type.c (typy_richcompare): Updated.
Diffstat (limited to 'gdb/fbsd-nat.c')
0 files changed, 0 insertions, 0 deletions