[Python-checkins] bpo-33312: update Tools/gdb/libpython.py to match. (GH-6549)
Gregory P. Smith
webhook-mailer at python.org
Fri Apr 20 16:02:40 EDT 2018
https://github.com/python/cpython/commit/11659d00b9185c8f02ea6b642fa475a80e21f1a9
commit: 11659d00b9185c8f02ea6b642fa475a80e21f1a9
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Gregory P. Smith <greg at krypto.org>
date: 2018-04-20T13:02:30-07:00
summary:
bpo-33312: update Tools/gdb/libpython.py to match. (GH-6549)
(cherry picked from commit 53f67d401df40486fd0fb8fbcf9da725cd37290c)
files:
M Tools/gdb/libpython.py
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 839ce799797e..7df7c9bd5416 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -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)
More information about the Python-checkins
mailing list