From: Tom Tromey Date: Tue, 25 Apr 2017 03:41:56 +0000 (-0600) Subject: Return EXT_LANG_BT_ERROR in one more spot in py-framefilter.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f111921a0f8e3f62a19808349ff9bcbd4e54043;p=binutils-gdb.git Return EXT_LANG_BT_ERROR in one more spot in py-framefilter.c While reading py-framefilter.c, I found one spot where an exception could be caught but then not be turned into EXT_LANG_BT_ERROR. This patch fixes this spot. gdb/ChangeLog 2018-03-26 Tom Tromey * python/py-framefilter.c (py_print_single_arg): Return EXT_LANG_BT_ERROR from catch. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4a9b87b73be..97da81134cb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-03-26 Tom Tromey + + * python/py-framefilter.c (py_print_single_arg): Return + EXT_LANG_BT_ERROR from catch. + 2018-03-26 Tom Tromey PR backtrace/15584: diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c index 0662e689416..6186ffd2745 100644 --- a/gdb/python/py-framefilter.c +++ b/gdb/python/py-framefilter.c @@ -457,6 +457,7 @@ py_print_single_arg (struct ui_out *out, CATCH (except, RETURN_MASK_ERROR) { gdbpy_convert_exception (except); + retval = EXT_LANG_BT_ERROR; } END_CATCH