This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 07/10] Throw a "quit" on a KeyboardException in py-framefilter.c
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Tue, 27 Jun 2017 17:59:14 +0100
- Subject: Re: [RFA 07/10] Throw a "quit" on a KeyboardException in py-framefilter.c
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 578ABC04B925
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 578ABC04B925
- References: <20170425194113.17862-1-tom@tromey.com> <20170425194113.17862-8-tom@tromey.com>
On 04/25/2017 08:41 PM, Tom Tromey wrote:
> If a C-c comes while the Python code for a frame filter is running, it
> will be turned into a Python KeyboardException. It seems good for
> this to be treated like a GDB quit, so this patch changes
> py-framefilter.c to notice this situation and call throw_quit in this
> case.
LGTM.
Thanks,
Pedro Alves