From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23767 invoked by alias); 15 Dec 2008 18:52:24 -0000 Received: (qmail 23759 invoked by uid 22791); 15 Dec 2008 18:52:23 -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.43rc1) with ESMTP; Mon, 15 Dec 2008 18:51:41 +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 mBFIpa5V026010; Mon, 15 Dec 2008 12:51:37 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Dec 2008 12:51:36 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: reverse for GDB/MI Date: Mon, 15 Dec 2008 18:52:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06A3DD92@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <49463870.6080302@virtutech.com> References: <49463870.6080302@virtutech.com> From: "Marc Khouzam" To: "Tomas Holmberg" , , "Michael Snyder" 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-12/txt/msg00285.txt.bz2 Hi, Looking forward to having MI support for reverse debugging. One little annoying point is the command -gdb-set exec-direction [forward | reverse] When this command is issued, to be really correct, MI would need an event to notify a frontend that the exec-direction has changed. This is in case the exec-direction is changed in the console or from another window. Another option, to avoid adding a new event, is if we could disable the changing of exec-direction when running in MI, and simulate it in the frontend. The frontend could simply keep track of the exec-direction chosen by the user=20 and issue reverse commands or forward commands, appropriately. Just a thought. marc > -----Original Message----- > From: gdb-patches-owner@sourceware.org=20 > [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Tomas Holmberg > Sent: Monday, December 15, 2008 5:59 AM > To: gdb-patches@sourceware.org; Michael Snyder > Subject: reverse for GDB/MI >=20 > Hi, >=20 > I have looked at the new reverse functionality in GDB and I think that > it looks really good. I would like to see the reverse commands in the > GDB/MI interface as well. I have attached two patches with the same > purpose, to add reverse commands to the MI interface, as I am not sure > which one that is best. >=20 > /Tomas Holmberg >=20