diff options
author | Tom Tromey <tom@tromey.com> | 2017-04-24 20:59:37 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-03-26 21:57:12 -0600 |
commit | 92256134f3e5557dcc321c63c48e8175ea90ca27 (patch) | |
tree | 731de9d15b22a2b7303edd77287d1a545d6ce0b9 /gdb/extension-priv.h | |
parent | 7a630bc2f99fcd55ddd83274574531d526ca1925 (diff) | |
download | gdb-92256134f3e5557dcc321c63c48e8175ea90ca27.zip gdb-92256134f3e5557dcc321c63c48e8175ea90ca27.tar.gz gdb-92256134f3e5557dcc321c63c48e8175ea90ca27.tar.bz2 |
Allow C-c to work in backtrace in more cases
PR cli/17716 notes that it is difficult to C-c (or "q" at a pagination
prompt) while backtracing using a frame filter. One reason for this
is that many places in py-framefilter.c use RETURN_MASK_ALL in a
try/catch.
This patch changes these spots to use RETURN_MASK_ERROR instead. This
is safe to do because this entire file is exception safe now.
gdb/ChangeLog
2018-03-26 Tom Tromey <tom@tromey.com>
PR cli/17716:
* python/py-framefilter.c (py_print_type, py_print_value)
(enumerate_args, py_print_args, gdbpy_apply_frame_filter): Use
RETURN_MASK_ERROR.
Diffstat (limited to 'gdb/extension-priv.h')
0 files changed, 0 insertions, 0 deletions