From 3c0c5f29dd0726afd91e5d79343706690459bd44 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 8 Oct 2011 19:33:24 +0200 Subject: [PATCH] Fix test_gdb following the small unicode struct change in c25262e97304 (issue #13130) --- Tools/gdb/libpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index 4b42c8bff83..43a0f20ec14 100644 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -1152,7 +1152,7 @@ def proxyval(self, visited): 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