From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111266 invoked by alias); 20 Dec 2019 15:37:02 -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 111258 invoked by uid 89); 20 Dec 2019 15:37:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=UD:gdb, killing, jonah, Suspend X-HELO: mail-il1-f182.google.com Received: from mail-il1-f182.google.com (HELO mail-il1-f182.google.com) (209.85.166.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Dec 2019 15:37:00 +0000 Received: by mail-il1-f182.google.com with SMTP id s15so8320962iln.1 for ; Fri, 20 Dec 2019 07:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=artsDYAxSGm662ymBGgQtAJjhTp/zdFSs84HdZXtBJY=; b=Q7btCdT+gaALjsdcszBQhxSwk+DY4vgdLpQ3qRbf88HoqA6to4KrHd+rSM7CN+ELox l0kHbAUUR9FOIXqIBV4tzWGJZidHgONvTlvFeypVyzcwBiAORdKj3ERHPeJpiJqW3DYN obZ4r6NLsFKWn3XA/gcM8ujbIZWkq0SN8yiBU9Lqmye09+txMBFZKG5wqqWtdI3jmbTr YLrQSSjPkVocO3+EcHyyjk9kKsymCNMYYN6seoEz0kiNfL+VWyny0c98yVKaBWFBtMsE SIGsZug93t9XK3JKZfkX8ioxU/vjeW444VSx/f5xnzYHuT2YhBBzLzfWXyH2BjPiFbFN WuQw== MIME-Version: 1.0 References: <31d23a62-eef1-63d4-f992-a0b553b141b9@redhat.com> In-Reply-To: From: Tudor Popescu Date: Fri, 20 Dec 2019 15:37:00 -0000 Message-ID: Subject: Re: GDB doesn't interrupt target To: Jonah Graham Cc: Pedro Alves , GDB Development Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-12/txt/msg00045.txt.bz2 Hello, Well we have the following versions: org.eclipse.cdt 9.3.0.201706122201 org.eclipse.cdt.dsf.gdb 5.3.0.201706122201 org.eclipse.cdt.dsf.gdb.ui 2.6.0.201706122201 On Windows, the suspend works. Should it work on Linux as well? All the best, Tudor On Thu, Dec 19, 2019 at 4:47 PM Jonah Graham wrote: > 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 > > >