http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45690
--- Comment #4 from Pawel Sikora <pluto at agmk dot net> 2010-10-14 11:17:55 UTC --- attached gcc build script builds libstdc++.a with dwarf3 debuginfo which works with testcase compiled with dwarf3 or dwarf4. if you change CUSTOM_FLAGS in build script to emit dwarf4 for libstdc++.a then you'll get runtime error in python gdb printer.