This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 16/30] Decouple target_interrupt from all-stop/non-stop modes
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Mon, 21 Mar 2016 18:24:30 +0000
- Subject: Re: [PATCH 16/30] Decouple target_interrupt from all-stop/non-stop modes
- Authentication-results: sourceware.org; auth=none
- References: <1458328714-4938-1-git-send-email-palves at redhat dot com> <1458328714-4938-17-git-send-email-palves at redhat dot com> <56F03BBE dot 3090906 at ericsson dot com>
On 03/21/2016 06:21 PM, Simon Marchi wrote:
On 16-03-18 03:18 PM, Pedro Alves wrote:
In non-stop mode, "interrupt" results in a "stop with no mode, it
results in a remote interrupt request / stop with SIGINT. This is
I don't really understand the first sentence, is there something missing?
Urgh, yes, looks like I deleted a line or something.
It should have read:
In non-stop mode, "interrupt" results in a "stop with no signal",
while in all-stop mode, it results in a remote interrupt
request / stop with SIGINT. This is (...)
currently implemented in both the Linux and remote target backends.
Move it to the core code instead, making target_interrupt specifically
always about "Interrupting as if with Ctrl-C", just like it is
documented.
Thanks,
Pedro Alves