summaryrefslogtreecommitdiffstats
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-xTools/gdb/libpython.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 7c8874a..cc23b84 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -1502,10 +1502,8 @@ class Frame(object):
return False
def is_evalframeex(self):
- '''Is this a PyEval_EvalFrameEx or _PyEval_EvalFrameDefault (PEP 0523)
- frame?'''
- if self._gdbframe.name() in ('PyEval_EvalFrameEx',
- '_PyEval_EvalFrameDefault'):
+ '''Is this a PyEval_EvalFrameEx frame?'''
+ if self._gdbframe.name() == 'PyEval_EvalFrameEx':
'''
I believe we also need to filter on the inline
struct frame_id.inline_depth, only regarding frames with