[RFA 06/10] Allow C-c to work in backtrace in more cases
Pedro Alves
palves@redhat.com
Tue Jun 27 16:46:00 GMT 2017
On 04/25/2017 08:41 PM, Tom Tromey wrote:
> 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.
Are any of these returning back to the Python runtime? If so, then
we can't let C++ exceptions cross it.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list