From 3ec8ef90feec266f4a5886ee4466a10318981d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Botond=20D=C3=A9nes?= Date: Wed, 2 Oct 2024 10:27:57 -0400 Subject: [PATCH] scylla-gdb.py: unordered_map: improve flat_hash_map matching Strip typedefs from the type before matching. --- scylla-gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scylla-gdb.py b/scylla-gdb.py index 607be9a1b3..c63226e82a 100755 --- a/scylla-gdb.py +++ b/scylla-gdb.py @@ -651,7 +651,7 @@ class absl_container: def unordered_map(ref): - if ref.type.name.startswith('flat_hash_map'): + if ref.type.strip_typedefs().name.startswith('flat_hash_map'): try: return flat_hash_map(ref) except gdb.error: