Message145175
Following patch seems to fix it:
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 @@ class PyUnicodeObjectPtr(PyObjectPtr):
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 |
|
Date |
User |
Action |
Args |
2011-10-08 16:21:04 | pitrou | set | recipients:
+ pitrou, loewis, vstinner, skrah |
2011-10-08 16:21:04 | pitrou | set | messageid: <1318090864.11.0.648493474468.issue13130@psf.upfronthosting.co.za> |
2011-10-08 16:21:03 | pitrou | link | issue13130 messages |
2011-10-08 16:21:03 | pitrou | create | |
|