scylla-gdb.py: unordered_map: improve flat_hash_map matching
Strip typedefs from the type before matching.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user