From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29474 invoked by alias); 18 Dec 2008 15:42:19 -0000 Received: (qmail 29466 invoked by uid 22791); 18 Dec 2008 15:42:19 -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 imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Dec 2008 15:41:37 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id mBIFjQ5m006643 for ; Thu, 18 Dec 2008 09:45:26 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Thu, 18 Dec 2008 09:41:35 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Async mode and setting breakpoints Date: Thu, 18 Dec 2008 15:42:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06AA14F6@ecamlmw720.eamcs.ericsson.se> From: "Marc Khouzam" To: 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: 2008-12/txt/msg00076.txt.bz2 Hi, I'm investigating the value of using async mode without non-stop to decide if I should use it whenever possible for DSF-GDB. The main advantage I was seeking was to be able to set a breakpoint while the target was running. It does not work though. I'm guessing that while the inferior is running, it is not possible for GDB to plant the breakpoint (although the bp command is accepted without complaint). I guess I still have to interrupt the inferior,=20 set the bp, and resume, even in async mode? Thanks Marc