aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-framefilter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c
index 76ce4e5..c6a29ef 100644
--- a/gdb/python/py-framefilter.c
+++ b/gdb/python/py-framefilter.c
@@ -1477,18 +1477,18 @@ apply_frame_filter (struct frame_info *frame, int flags,
if (!gdb_python_initialized)
return PY_BT_NO_FILTERS;
- cleanups = ensure_python_env (gdbarch, current_language);
-
TRY_CATCH (except, RETURN_MASK_ALL)
{
gdbarch = get_frame_arch (frame);
}
if (except.reason < 0)
{
- gdbpy_convert_exception (except);
- goto error;
+ /* Let gdb try to print the stack trace. */
+ return PY_BT_NO_FILTERS;
}
+ cleanups = ensure_python_env (gdbarch, current_language);
+
iterable = bootstrap_python_frame_filters (frame, frame_low, frame_high);
if (iterable == NULL)