Mercurial > cpython-lru_cache-weakref
diff Tools/gdb/libpython.py @ 72809:ef1f0434c79c
Fix test_gdb following the small unicode struct change in c25262e97304 (issue #13130)
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sat, 08 Oct 2011 19:33:24 +0200 |
| parents | 93f033c7cfea |
| children | b3543ef9b445 |
line wrap: on
line diff
--- a/Tools/gdb/libpython.py Sat Oct 08 18:32:40 2011 +0200 +++ b/Tools/gdb/libpython.py Sat Oct 08 19:33:24 2011 +0200 @@ -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
