This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/17716] [7.7 regression] Backtrace cannot be stopped by 'q' or CTRL-C


https://sourceware.org/bugzilla/show_bug.cgi?id=17716

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kratochvil at redhat dot com

--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
(In reply to Phil Muldoon from comment #1)
> With a regression, do you mean it has failed since the first implementation
> of frame filters, or a more recent change has affected it?

it has failed since the first implementation of frame filters


> The three methods I would think are ok is:
> 
> 1) Check the Python exception, if it is keyboard interrupt, quit.

This does not work as there are line(s)
  TRY_CATCH (except, RETURN_MASK_ALL)
which nullify that quit() attempt.  That's the whole problem.

> 2) Define a new constant as Jan mentions
> 3) Alter the exception mask as Jan mentions.

IMO from my attempt to fix it there needs to be done some rethinking how it
should behave for errors vs. quits.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]