[Python-checkins] cpython: Fix test_gdb following the small unicode struct change in c25262e97304 (issue
antoine.pitrou
python-checkins at python.org
Sat Oct 8 19:37:04 CEST 2011
http://hg.python.org/cpython/rev/ef1f0434c79c
changeset: 72809:ef1f0434c79c
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Oct 08 19:33:24 2011 +0200
summary:
Fix test_gdb following the small unicode struct change in c25262e97304 (issue #13130)
files:
Tools/gdb/libpython.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -1152,7 +1152,7 @@
field_str = field_str.cast(_type_unsigned_char_ptr)
elif repr_kind == 2:
field_str = field_str.cast(_type_unsigned_short_ptr)
- elif repr_kind == 3:
+ elif repr_kind == 4:
field_str = field_str.cast(_type_unsigned_int_ptr)
else:
# Python 3.2 and earlier
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list