  
  class PyFrameObjectPtr(PyObjectPtr):
      _typename = 'PyFrameObject'
-@@ -861,7 +861,10 @@ class PyFrameObjectPtr(PyObjectPtr):
+@@ -892,7 +892,10 @@ class PyFrameObjectPtr(PyObjectPtr):
          '''Get the path of the current Python source file, as a string'''
          if self.is_optimized_out():
              return '(frame information optimized out)'

diff -up Python-2.7.3/Tools/gdb/libpython.py.fix-fake-repr-in-gdb-hooks Python-2.7.3/Tools/gdb/libpython.py
--- Python-2.7.3/Tools/gdb/libpython.py.fix-fake-repr-in-gdb-hooks	2013-02-19 17:21:33.541181366 -0500
+++ Python-2.7.3/Tools/gdb/libpython.py	2013-02-19 17:21:42.090180782 -0500
@@ -105,6 +105,24 @@ class TruncatedStringIO(object):
     def getvalue(self):
         return self._val
 

             out.write('=')
             pyop_val.write_repr(out, visited)
         out.write(')')
@@ -816,6 +814,8 @@ class PyNoneStructPtr(PyObjectPtr):
     def proxyval(self, visited):
         return None
 
