summaryrefslogtreecommitdiffstats
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2018-04-20 18:32:08 (GMT)
committerGitHub <noreply@github.com>2018-04-20 18:32:08 (GMT)
commit53f67d401df40486fd0fb8fbcf9da725cd37290c (patch)
tree9db2388cb081bd3e35ea81220686ec11a420f77a /Tools/gdb/libpython.py
parent063db62aab4041ac47798e7e48b27b2f2bef21c5 (diff)
downloadcpython-53f67d401df40486fd0fb8fbcf9da725cd37290c.zip
cpython-53f67d401df40486fd0fb8fbcf9da725cd37290c.tar.gz
cpython-53f67d401df40486fd0fb8fbcf9da725cd37290c.tar.bz2
bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548)
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-xTools/gdb/libpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 839ce79..7df7c9b 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -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)
ue='bug_7c7e8f957e'>bug_7c7e8f957e Tk is a free and open-source, cross-platform widget toolkit that provides a library of basic elements of GUI widgets for building a graphical user interface (GUI) in many programming languages.
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-07 08:50:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-07 08:50:25 (GMT)
commit159e8c69ce74a438bf8a4b81feebfd038d348638 (patch)
tree6c5105158f307015e01fe379ae963899289f7e21
parent1e4a83626695d4ebb409651450c8f9a501edc75d (diff)
downloadtk-159e8c69ce74a438bf8a4b81feebfd038d348638.zip
tk-159e8c69ce74a438bf8a4b81feebfd038d348638.tar.gz
tk-159e8c69ce74a438bf8a4b81feebfd038d348638.tar.bz2
Fix [1913750]: tk_chooseDirectory -initialdir internationalization problem. (backported from Tk 8.6)