From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1941 invoked by alias); 1 Apr 2009 17:14:40 -0000 Received: (qmail 1446 invoked by uid 22791); 1 Apr 2009 17:14:37 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Apr 2009 17:14:32 +0000 Received: from eusrcmw750.eamcs.ericsson.se (eusrcmw750.exu.ericsson.se [138.85.77.50]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id n31HDcvR028835; Wed, 1 Apr 2009 12:13:40 -0500 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Wed, 1 Apr 2009 12:13:07 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Interrupting target execution on Linux using GDB/MI Date: Wed, 01 Apr 2009 17:14:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA07325948@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <5D22D5EE-71AE-46DE-86C0-6A4C58CB0021@filmlight.ltd.uk> References: <0438EB51-6BDE-4174-8C8A-68A24D743C02@filmlight.ltd.uk> <20090401164152.GD8930@adacore.com> <5D22D5EE-71AE-46DE-86C0-6A4C58CB0021@filmlight.ltd.uk> From: "Marc Khouzam" To: "James Milne" , "Joel Brobecker" Cc: X-IsSubscribed: yes 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 X-SW-Source: 2009-04/txt/msg00006.txt.bz2 We've just had a discussion about this as a bug to Eclipse CDT. You may find some of the information useful. https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D265483 =20 > -----Original Message----- > From: gdb-owner@sourceware.org=20 > [mailto:gdb-owner@sourceware.org] On Behalf Of James Milne > Sent: Wednesday, April 01, 2009 12:45 PM > To: Joel Brobecker > Cc: gdb@sourceware.org > Subject: Re: Interrupting target execution on Linux using GDB/MI >=20 > On 1 Apr 2009, at 17:41, Joel Brobecker wrote: > >> What is the correct procedure when using GDB/MI to interrupt the > >> execution of the inferior process? > > > > There is a GDB/MI command to interrupt the execution of=20 > your program. >=20 > I attempted to use that, but it does not work when GDB is being used=20=20 > synchronously. It only works when you are connecting to a gdbserver=20=20 > and GDB itself is running "asynchronously". >=20 > Certainly it doesn't work on OS X when I originally tried it, which=20=20 > lead me to issuing SIGINT myself. >=20 > Regards > James Milne > FilmLight Ltd. >=20