From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26887 invoked by alias); 21 Jan 2009 15:41:16 -0000 Received: (qmail 26875 invoked by uid 22791); 21 Jan 2009 15:41:15 -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, 21 Jan 2009 15:41:07 +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 n0LFf4AY000715 for ; Wed, 21 Jan 2009 09:41:05 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Wed, 21 Jan 2009 09:41:04 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: MI *stopped versus silent breakpoint Date: Wed, 21 Jan 2009 15:41:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06CB0F19@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: 2009-01/txt/msg00143.txt.bz2 Hi, I just found out that a breakpoint can be made silent, in which case there is no breakpoint output when it is hit. When doing a reverse-finish=20 operation, a silent breakpoint is used, and when hit the inferior is resumed automatically, and then a single-step is done. In CLI, it makes it look like the inferior stopped only once, instead of twice. In MI though, with the *stopped events, we do get an empty *stopped for the silent breakpoint. So I see two *stopped events consecutively. I wondered if a silent breakpoint should in fact generate a *stopped event or not? For a frontend, it can be confusing to see two stopped events. FYI, what I did for DSF-GDB and reverse debugging, is to ignore empty *stopped. I stilled wondered about GDB though. Marc =20 =20