From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9179 invoked by alias); 28 Jun 2008 18:11:07 -0000 Received: (qmail 9158 invoked by uid 22791); 28 Jun 2008 18:11:07 -0000 X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Jun 2008 18:10:36 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id m5SIAXdZ014405; Sat, 28 Jun 2008 13:10:33 -0500 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Sat, 28 Jun 2008 13:11:06 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [MI non-stop 05/11, RFA] -exec-continue/-exec-interrupt --all Date: Sat, 28 Jun 2008 18:17:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04E1BD86@ecamlmw720.eamcs.ericsson.se> References: <200806282045.39438.vladimir@codesourcery.com> From: "Marc Khouzam" To: "Vladimir Prus" , X-IsSubscribed: yes 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 X-SW-Source: 2008-06/txt/msg00558.txt.bz2 > +void > +interrupt_target_1 (int all_threads) > +{ > + if (non_stop) > + { > + ptid_t ptid; > + > + if (all_threads) > + ptid =3D minus_one_ptid; > + else > + ptid =3D inferior_ptid; > + > + target_stop_ptid (ptid); > + } > + else > + target_stop (); > +} > + > /* Stop the execution of the target while running in async mode, in > the backgound. In all-stop, stop the whole process. In non-stop > mode, stop the current thread only by default, or stop all threads > @@ -2170,19 +2194,7 @@ interrupt_target_command (char *args, int from_tty) > if (!non_stop && all_threads) > error (_("-a is meaningless in all-stop mode.")); Can this error be printed for an MI command? If so, -a is not the flag in MI...