c86b2c
--- Python-2.7.5-orig/Tools/gdb/libpython.py	2013-05-12 03:32:54.000000000 +0000
c86b2c
+++ Python-2.7.5-orig/Tools/gdb/libpython.py	2013-09-15 09:56:25.494000000 +0000
c86b2c
@@ -887,6 +887,8 @@ 
c86b2c
         newline character'''
c86b2c
         if self.is_optimized_out():
c86b2c
             return '(frame information optimized out)'
c86b2c
+        if self.filename() == '<string>':
c86b2c
+            return '(in an eval block)'
c86b2c
         with open(self.filename(), 'r') as f:
c86b2c
             all_lines = f.readlines()
c86b2c
             # Convert from 1-based current_line_num to 0-based list offset: