From 899888bbf21a7554f0324d200d94488cb055992c Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Sat, 2 Apr 2022 00:34:33 +0430 Subject: [PATCH] Meta: Update gdb script for changes in HashTable --- Meta/serenity_gdb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Meta/serenity_gdb.py b/Meta/serenity_gdb.py index 9c1cda128b1..29759b0faf0 100644 --- a/Meta/serenity_gdb.py +++ b/Meta/serenity_gdb.py @@ -292,7 +292,8 @@ class AKHashMapPrettyPrinter: buckets = val["m_buckets"] for i in range(0, val["m_capacity"]): bucket = buckets[i] - if bucket["used"]: + # if state == Used + if bucket["state"] & 0xf0 == 0x10: cb(bucket["storage"].cast(entry_type_ptr)) @staticmethod