mirror of
https://github.com/python/cpython
synced 2024-09-16 02:40:00 +00:00
bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548)
This commit is contained in:
parent
063db62aab
commit
53f67d401d
|
@ -730,7 +730,7 @@ def _get_entries(self, keys):
|
|||
else:
|
||||
offset = 8 * dk_size
|
||||
|
||||
ent_addr = keys['dk_indices']['as_1'].address
|
||||
ent_addr = keys['dk_indices'].address
|
||||
ent_addr = ent_addr.cast(_type_unsigned_char_ptr()) + offset
|
||||
ent_ptr_t = gdb.lookup_type('PyDictKeyEntry').pointer()
|
||||
ent_addr = ent_addr.cast(ent_ptr_t)
|
||||
|
|
Loading…
Reference in a new issue