From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25464 invoked by alias); 21 Mar 2016 18:21:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 25451 invoked by uid 89); 21 Mar 2016 18:21:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=ctrl-c, ctrlc X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 21 Mar 2016 18:21:53 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 9D.2D.22441.E9B30F65; Mon, 21 Mar 2016 19:21:18 +0100 (CET) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.77) with Microsoft SMTP Server id 14.3.248.2; Mon, 21 Mar 2016 14:21:51 -0400 Subject: Re: [PATCH 16/30] Decouple target_interrupt from all-stop/non-stop modes To: Pedro Alves , References: <1458328714-4938-1-git-send-email-palves@redhat.com> <1458328714-4938-17-git-send-email-palves@redhat.com> From: Simon Marchi Message-ID: <56F03BBE.3090906@ericsson.com> Date: Mon, 21 Mar 2016 18:21:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1458328714-4938-17-git-send-email-palves@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00423.txt.bz2 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? > 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.