2011-12-09 Andrew Pinski <apinski@cavium.com>
* linespec.c (hash_address_entry): Use iterative_hash_object on each field rather than the struct itself.
This commit is contained in:
parent
8a2c437bd9
commit
04ca3c2272
@ -1,3 +1,8 @@
|
||||
2011-12-09 Andrew Pinski <apinski@cavium.com>
|
||||
|
||||
* linespec.c (hash_address_entry): Use iterative_hash_object on each
|
||||
field rather than the struct itself.
|
||||
|
||||
2011-12-09 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* breakpoint.c (compare_breakpoints): New function.
|
||||
|
@ -253,8 +253,10 @@ static hashval_t
|
||||
hash_address_entry (const void *p)
|
||||
{
|
||||
const struct address_entry *aep = p;
|
||||
hashval_t hash;
|
||||
|
||||
return iterative_hash_object (*aep, 0);
|
||||
hash = iterative_hash_object (aep->pspace, 0);
|
||||
return iterative_hash_object (aep->addr, hash);
|
||||
}
|
||||
|
||||
/* An equality function for address_entry. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user