This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [DOC] Interrupt when program is stopped
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Tue, 12 Jan 2016 12:29:07 +0000
- Subject: Re: [PATCH] [DOC] Interrupt when program is stopped
- Authentication-results: sourceware.org; auth=none
- References: <1452513460-24295-1-git-send-email-yao dot qi at linaro dot org>
On 01/11/2016 11:57 AM, Yao Qi wrote:
> This patch changes the document that interrupt (ctrl-c) is not ignored
> when the program is stopped.
>
> When the interrupt was supported in remote target, people thought interrupt
> is meaningless when the program is stopped. See
>
> https://www.sourceware.org/ml/gdb/2005-11/msg00349.html
> https://www.sourceware.org/ml/gdb-patches/2005-11/msg00307.html
>
> recently we find it is hard to preserve this feature "ignore interrupt
> while program is stopped" when we fix some other bugs. See
> https://sourceware.org/ml/gdb-patches/2016-01/msg00039.html
>
> so we think we can go to the simpler approach "not ignoring ctrl-c when
> program is stopped". As a result, we tweak the documentation here.
>
> gdb/doc:
>
> 2016-01-11 Yao Qi <yao.qi@linaro.org>
>
> * gdb.texinfo (Interrupts): Update the document on handling
> interrupt when program is stopped.
LGTM.
Thanks,
Pedro Alves