aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index f3afc58..0ac54f7 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -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. */