Skip to content

Commit

Permalink
bpo-33312: update Tools/gdb/libpython.py to match. (GH-6549)
Browse files Browse the repository at this point in the history
(cherry picked from commit 53f67d4)
  • Loading branch information
miss-islington authored and gpshead committed Apr 20, 2018
1 parent 392520b commit 11659d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/gdb/libpython.py
Expand Up @@ -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)
Expand Down

0 comments on commit 11659d0

Please sign in to comment.