From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87040 invoked by alias); 20 Dec 2019 16:23:51 -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 86982 invoked by uid 89); 20 Dec 2019 16:23:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=H*i:sk:CAHrp7Q, newui, new-ui, H*i:sk:bz9ixnH X-HELO: pb-smtp20.pobox.com Received: from pb-smtp20.pobox.com (HELO pb-smtp20.pobox.com) (173.228.157.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Dec 2019 16:23:49 +0000 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B8EEB98610 for ; Fri, 20 Dec 2019 11:23:47 -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=ugycNUY1fw/wlx+VB6px5sfCy0o=; b=PznWmg PZiHViwNWs6g8TAQos5ZDwL7JWdTZW0zOu0MgLO2jpBOaEzbcHYbAqsfU7OyudRZ eA+//yta/6yXwNpC1tiCzRESx1804mh2HDgn50vHBAqotyRAIvuWlueGlclmTe9S oOT5Qa8vOX1ImH8dWtEsNtT0dw4Ead0BtCm5U= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id AF2FF9860F for ; Fri, 20 Dec 2019 11:23:47 -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=jOLhyf2fsEmH10qqXP45Pa87h7F6rNoo4Bkx53wgAIY=; b=d4IZy4XkFps6eXRlvECb8qfYVQKDvq4FYsO43JLj2g248C0xe8D8ogrEykIjSl6TiCKVpZAVy1ZclVhscSx01zUvn9ENZpK5Rac3WOnatsrgcc1jEWx6+Tzkbs9vFyCLf+lD6YtrQDWN0aYjA0QV8v6dzlBEEc7NRXZA5v/Z8X0= Received: from mail-qv1-f44.google.com (unknown [209.85.219.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 3AEFD9860C for ; Fri, 20 Dec 2019 11:23:44 -0500 (EST) (envelope-from jonah@kichwacoders.com) Received: by mail-qv1-f44.google.com with SMTP id dc14so3810763qvb.9 for ; Fri, 20 Dec 2019 08:23:44 -0800 (PST) MIME-Version: 1.0 References: <31d23a62-eef1-63d4-f992-a0b553b141b9@redhat.com> In-Reply-To: From: Jonah Graham Date: Fri, 20 Dec 2019 16:23:00 -0000 Message-ID: Subject: Re: GDB doesn't interrupt target To: Tudor Popescu Cc: Pedro Alves , GDB Development Content-Type: text/plain; charset="UTF-8" X-Pobox-Relay-ID: 17856BBC-2345-11EA-A84F-B0405B776F7B-18936988!pb-smtp20.pobox.com X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00046.txt.bz2 (resending because last email with embedded picture bounced) On Fri, 20 Dec 2019 at 10:37, Tudor Popescu wrote: > > 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 I can't immediately see any significant changes since this version was released. However, there are a few patch releases for CDT 9.3, current one is 9.3.3 (https://www.eclipse.org/cdt/downloads.php) (p2 https://download.eclipse.org/tools/cdt/releases/9.3/). Have you tried with something more recent. The new-ui support was very new when 9.3 was released, so there may be some bug fixes. In fact, CDT 9.3 was released more than a year before the version of GDB you are using. While I always hope that we release CDT that will work with future and unreleased GDBs, it is hard to be certain of that. Can you please report back if this is failing in most recent CDT releases (CDT 9.10 https://www.eclipse.org/cdt/downloads.php part of Eclipse 2019-12 release https://www.eclipse.org/downloads/) > > On Windows, the suspend works. Should it work on Linux as well? On Windows there is no new-ui (yet!), so the code paths in Eclipse are very different for this. Of course suspend *should* work on both. Please raise a bug (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=CDT) in CDT with the details and I can look at it further. In addition to the version of those bundles, I need what launch configuration you are using. You can either share your .launch file, or if that is not possible tell me what is selected in Debug Configurations dialog on the left (launch config type) and if present which launcher (this area, next to revert/apply buttons may be blank). See https://i.imgur.com/wIkAb0U.png And it would be most useful to include the MI trace to see what is going wrong. If it off by default, but you can turn it on in Preferences -> C/C++ -> Debug -> GDB and check "Show the GDB traces [...]". Once enabled the Console view will display the MI trace. I hope we can get to the bottom of this. > > All the best, > Tudor ~~~ Jonah Graham Kichwa Coders www.kichwacoders.com