I found another patch for the part where the pretty-printers won't load at all, starting at <http://sources.debian.net/src/gcc-4.7/4.7.3-7/debian/patches/gcc-multiarch.diff#L3>:
Index: b/src/libstdc++-v3/python/hook.in =================================================================== --- a/src/libstdc++-v3/python/hook.in +++ b/src/libstdc++-v3/python/hook.in @@ -47,7 +47,10 @@ libdir = libdir[len (prefix):] # Compute the ".."s needed to get from libdir to the prefix. - dotdots = ('..' + os.sep) * len (libdir.split (os.sep)) + backdirs = len (libdir.split (os.sep)) + if not os.path.basename(os.path.dirname(__file__)).startswith('lib'): + backdirs += 1 # multiarch subdir + dotdots = ('..' + os.sep) * backdirs objfile = gdb.current_objfile ().filename dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir) -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87zjqg98py....@naesten.dyndns.org