bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548)

This commit is contained in:
Gregory P. Smith 2018-04-20 11:32:08 -07:00 committed by GitHub
parent 063db62aab
commit 53f67d401d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ class PyDictObjectPtr(PyObjectPtr):
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)