You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
553 B
11 lines
553 B
--- Python-2.7.5-orig/Tools/gdb/libpython.py 2013-05-12 03:32:54.000000000 +0000 |
|
+++ Python-2.7.5-orig/Tools/gdb/libpython.py 2013-09-15 09:56:25.494000000 +0000 |
|
@@ -887,6 +887,8 @@ |
|
newline character''' |
|
if self.is_optimized_out(): |
|
return '(frame information optimized out)' |
|
+ if self.filename() == '<string>': |
|
+ return '(in an eval block)' |
|
with open(self.filename(), 'r') as f: |
|
all_lines = f.readlines() |
|
# Convert from 1-based current_line_num to 0-based list offset:
|
|
|