diff options
author | Tom Tromey <tom@tromey.com> | 2017-04-24 21:41:56 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-03-26 21:57:13 -0600 |
commit | 1f111921a0f8e3f62a19808349ff9bcbd4e54043 (patch) | |
tree | 6d89c4494f6529ad54b6d4863ea2ae49a7771511 /gdb/python | |
parent | fb7eb8b5826f059e2b7a18e42ff9c20972e626bc (diff) | |
download | gdb-1f111921a0f8e3f62a19808349ff9bcbd4e54043.zip gdb-1f111921a0f8e3f62a19808349ff9bcbd4e54043.tar.gz gdb-1f111921a0f8e3f62a19808349ff9bcbd4e54043.tar.bz2 |
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.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-framefilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c index 0662e68..6186ffd 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 |