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

Gregory P. Smith webhook-mailer at python.org
Fri Apr 20 14:32:12 EDT 2018


https://github.com/python/cpython/commit/53f67d401df40486fd0fb8fbcf9da725cd37290c
commit: 53f67d401df40486fd0fb8fbcf9da725cd37290c
branch: master
author: Gregory P. Smith <greg at krypto.org>
committer: GitHub <noreply at github.com>
date: 2018年04月20日T11:32:08-07:00
summary:
bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548)
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

AltStyle によって変換されたページ (->オリジナル) /