mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:48:14 +00:00
Meta: Update gdb script for changes in HashTable
This commit is contained in:
parent
086969277e
commit
899888bbf2
1 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,8 @@ class AKHashMapPrettyPrinter:
|
||||||
buckets = val["m_buckets"]
|
buckets = val["m_buckets"]
|
||||||
for i in range(0, val["m_capacity"]):
|
for i in range(0, val["m_capacity"]):
|
||||||
bucket = buckets[i]
|
bucket = buckets[i]
|
||||||
if bucket["used"]:
|
# if state == Used
|
||||||
|
if bucket["state"] & 0xf0 == 0x10:
|
||||||
cb(bucket["storage"].cast(entry_type_ptr))
|
cb(bucket["storage"].cast(entry_type_ptr))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue