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  <tom@tromey.com>

	* python/py-framefilter.c (py_print_single_arg): Return
	EXT_LANG_BT_ERROR from catch.
This commit is contained in:
Tom Tromey 2017-04-24 21:41:56 -06:00
parent fb7eb8b582
commit 1f111921a0
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-03-26 Tom Tromey <tom@tromey.com>
* python/py-framefilter.c (py_print_single_arg): Return
EXT_LANG_BT_ERROR from catch.
2018-03-26 Tom Tromey <tom@tromey.com>
PR backtrace/15584:

View File

@ -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