From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126614 invoked by alias); 19 Dec 2019 14:47:10 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 126552 invoked by uid 89); 19 Dec 2019 14:47:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.1 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=confirming, H*i:sk:31d23a6, H*f:sk:31d23a6, by X-HELO: pb-smtp1.pobox.com Received: from pb-smtp1.pobox.com (HELO pb-smtp1.pobox.com) (64.147.108.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Dec 2019 14:47:08 +0000 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id DB2CE2E6EA for ; Thu, 19 Dec 2019 09:47:06 -0500 (EST) (envelope-from jonah@kichwacoders.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=/d3B78bD2Fe/MHBEmIsZynbyLB4=; b=Oh0Pf9 ekaIr3Ybx4laXEuEhCV0Hi2BgKs5vODdCaHsDuitfi81NaF8nPS5zLyLGswm5Y9V a7OVwO+pGm24Dj6JZZU03H9Cndd1yZWiI2VRuntAQ/gXuL7Vu5GQleA3p2h5pBn0 nbVj3Nz07+m7vOnKXGMg7dt2STclHJBqENDLM= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D04CC2E6E9 for ; Thu, 19 Dec 2019 09:47:06 -0500 (EST) (envelope-from jonah@kichwacoders.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kichwacoders.com; h=mime-version:references:in-reply-to:from:date:message-id:subject:to:cc:content-type; s=mesmtp; bh=c9HqBl94X1rOuvhj/omtvU179vQGggjqPQGKI+c4wlc=; b=FxcdMLzd02bGUT7VCMW4F0/v1my1LNmv1CKtPu4QcziUkXmu2M8FDH0s+j1jFodQTo1ekE79Nh5dXxJFX/uhvvwy0nmvCiyMVb81pw3t3/CwMQgBNYeO937pa2SyKXfLibfwstDYyFY9fuz+xeO4ru7tiRzH9pHyijlMgxPeQO4= Received: from mail-qk1-f175.google.com (unknown [209.85.222.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id D23162E6E6 for ; Thu, 19 Dec 2019 09:47:04 -0500 (EST) (envelope-from jonah@kichwacoders.com) Received: by mail-qk1-f175.google.com with SMTP id r14so4779462qke.13 for ; Thu, 19 Dec 2019 06:47:04 -0800 (PST) MIME-Version: 1.0 References: <31d23a62-eef1-63d4-f992-a0b553b141b9@redhat.com> In-Reply-To: <31d23a62-eef1-63d4-f992-a0b553b141b9@redhat.com> From: Jonah Graham Date: Thu, 19 Dec 2019 14:47:00 -0000 Message-ID: Subject: Re: GDB doesn't interrupt target To: Pedro Alves Cc: Tudor Popescu , GDB Development X-Pobox-Relay-ID: 6C68BC9C-226E-11EA-80C5-C28CBED8090B-18936988!pb-smtp1.pobox.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00038.txt.bz2 On Thu, 19 Dec 2019 at 09:22, Pedro Alves wrote: > On 12/19/19 1:10 PM, Tudor Popescu wrote: > > Indeed the "interrupt" works on Debugger Console, as for the Suspend, > the console prints a "^CQuit" just as when killing. > This suggests that the suspend button is sending a SIGINT to GDB instead of > issing an -exec-interrupt command on the MI channel. (MI's -exec-interrupt > command is the equivalent of the "interrupt" command on the console.) > > Thank you Pedro for confirming. Tudor, where did you get your Eclipse from? If it is a fairly recent and unmodified/extended CDT I should be able to reproduce this, but I am going to need some more details on exactly how you are using it. Which type of launch are you doing for example. If you are using (or writing) a vendor extension to CDT it could be that the vendor has overridden the implementation of RunControl.suspend() that is in used by GDBRunControl_7_12 for GDB >= 7.12. Please raise a bug in CDT with the details and I can look at it further. Thanks, Jonah